Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
You are using an out of date browser. It may not display this or other websites correctly. You should upgrade or use an alternative browser.
Triggers
Doubling.w3x
Variables
Introduction
READ
Item1
Item1 pick
Item1 drop
Item1 new
Item2
Item2 pick
Item2 drop
Item2 new
Item3
Item3 pick
Item3 drop
Item3 new
Item4
Item4 pick
Item4 drop
Item4 new
Item4
Item5 pick
Item5 drop
Item5 new
Tür1
Tuer1unverwundbar
Tuer1oeffnen
Tuer1schliesen
Tür2
Tuer2unverwundbar
Tuer2oeffnen
Tuer2schliesen
Stufen
Entering1
Leaving1
Entering2
Leaving2
Entering3
Leaving3
Entering4
Leaving4
Entering5
Leaving5
Kills
Leaderboard
Kills 2
Hero die
Herospieler1
Sieg
Gegenstand6
Kartenspezifischen eigenen Skript-Code unten eingeben. Dieser Text wird in das Karten-Skript nach der Deklaration der Variablen und vor jeglichem Auslöser-Code eingefügt.
Name
Type
is_array
initial_value
Item1
real
No
Item2
real
No
Item3
real
No
Item4
real
No
Item5
real
No
kills
real
No
kills2
integer
No
This map is created by Biffzs. In this map you can learn how to double in a easy way.
1. Copy the category Item1 and paste it into your map.
2. Create a variable named "Item1" with variabletype Real.
3. Create an item named "Gegenstand1"
4. Now you only have to change the created things.
Item1 pick
Events
Unit - A unit Acquires an item
Conditions
(Item-type of (Item being manipulated)) Equal to Gegenstand1
Actions
Set Variable Set Item1 = (Item1 + 1)
Item1 drop
Events
Unit - A unit Loses an item
Conditions
(Item-type of (Item being manipulated)) Equal to Gegenstand1
Actions
Set Variable Set Item1 = (Item1 - 1)
Item1 new
Events
Game - Item1 becomes Equal to 2.00
Conditions
Actions
Special Effect - Create a special effect at (Position of (Triggering unit)) using Abilities\Spells\Human\Resurrect\ResurrectTarget.mdl
Item - Remove (Item carried by (Triggering unit) of type Gegenstand1)
Item - Remove (Item carried by (Triggering unit) of type Gegenstand1)
Wait 0.10 seconds
Hero - Create Gegenstand2 and give it to (Triggering unit)
Item2 pick
Events
Unit - A unit Acquires an item
Conditions
(Item-type of (Item being manipulated)) Equal to Gegenstand2
Actions
Set Variable Set Item2 = (Item2 + 1)
Item2 drop
Events
Unit - A unit Loses an item
Conditions
(Item-type of (Item being manipulated)) Equal to Gegenstand2
Actions
Set Variable Set Item2 = (Item2 - 1)
Item2 new
Events
Game - Item2 becomes Equal to 2.00
Conditions
Actions
Special Effect - Create a special effect at (Position of (Triggering unit)) using Abilities\Spells\Human\Resurrect\ResurrectTarget.mdl
Item - Remove (Item carried by (Triggering unit) of type Gegenstand2)
Item - Remove (Item carried by (Triggering unit) of type Gegenstand2)
Wait 0.10 seconds
Hero - Create Gegenstand3 and give it to (Triggering unit)
Item3 pick
Events
Unit - A unit Acquires an item
Conditions
(Item-type of (Item being manipulated)) Equal to Gegenstand3
Actions
Set Variable Set Item3 = (Item3 + 1)
Item3 drop
Events
Unit - A unit Loses an item
Conditions
(Item-type of (Item being manipulated)) Equal to Gegenstand3
Actions
Set Variable Set Item3 = (Item3 - 1)
Item3 new
Events
Game - Item3 becomes Equal to 2.00
Conditions
Actions
Special Effect - Create a special effect at (Position of (Triggering unit)) using Abilities\Spells\Human\Resurrect\ResurrectTarget.mdl
Item - Remove (Item carried by (Triggering unit) of type Gegenstand3)
Item - Remove (Item carried by (Triggering unit) of type Gegenstand3)
Wait 0.10 seconds
Hero - Create Gegenstand4 and give it to (Triggering unit)
Item4 pick
Events
Unit - A unit Acquires an item
Conditions
(Item-type of (Item being manipulated)) Equal to Gegenstand4
Actions
Set Variable Set Item4 = (Item4 + 1)
Item4 drop
Events
Unit - A unit Loses an item
Conditions
(Item-type of (Item being manipulated)) Equal to Gegenstand4
Actions
Set Variable Set Item4 = (Item4 - 1)
Item4 new
Events
Game - Item4 becomes Equal to 2.00
Conditions
Actions
Special Effect - Create a special effect at (Position of (Triggering unit)) using Abilities\Spells\Human\Resurrect\ResurrectTarget.mdl
Item - Remove (Item carried by (Triggering unit) of type Gegenstand4)
Item - Remove (Item carried by (Triggering unit) of type Gegenstand4)
Wait 0.10 seconds
Hero - Create Gegenstand5 and give it to (Triggering unit)
Item5 pick
Events
Unit - A unit Acquires an item
Conditions
(Item-type of (Item being manipulated)) Equal to Gegenstand5
Actions
Set Variable Set Item5 = (Item5 + 1)
Item5 drop
Events
Unit - A unit Loses an item
Conditions
(Item-type of (Item being manipulated)) Equal to Gegenstand5
Actions
Set Variable Set Item5 = (Item5 - 1)
Item5 new
Events
Game - Item5 becomes Equal to 2.00
Conditions
Actions
Special Effect - Create a special effect at (Position of (Triggering unit)) using Abilities\Spells\Human\Resurrect\ResurrectTarget.mdl
Item - Remove (Item carried by (Triggering unit) of type Gegenstand5)
Item - Remove (Item carried by (Triggering unit) of type Gegenstand5)
Wait 0.10 seconds
Hero - Create Gegenstand6 and give it to (Triggering unit)
Tuer1unverwundbar
Events
Time - Elapsed game time is 1.00 seconds
Conditions
Actions
Destructible - Make Gate 0000 <gen> Invulnerable
Tuer1oeffnen
Events
Unit - A unit enters Tuer1 <gen>
Conditions
Actions
Destructible - Open Gate 0000 <gen>
Tuer1schliesen
Events
Unit - A unit leaves Tuer1 <gen>
Conditions
Actions
Destructible - Close Gate 0000 <gen>
Tuer2unverwundbar
Events
Time - Elapsed game time is 1.00 seconds
Conditions
Actions
Destructible - Make Gate 0001 <gen> Invulnerable
Tuer2oeffnen
Events
Unit - A unit enters Tuer2 <gen>
Conditions
Actions
Destructible - Open Gate 0001 <gen>
Tuer2schliesen
Events
Unit - A unit leaves Tuer2 <gen>
Conditions
Actions
Destructible - Close Gate 0001 <gen>
Entering1
Events
Unit - A unit enters Aufladung1 <gen>
Conditions
(Unit-type of (Entering unit)) Equal to Blood Mage
Actions
Hero - Create Powerup and give it to (Entering unit)
Leaving1
Events
Unit - A unit leaves Aufladung1 <gen>
Conditions
(Unit-type of (Leaving unit)) Equal to Blood Mage
Actions
Trigger - Turn off Entering1 <gen>
Entering2
Events
Unit - A unit enters Aufladung2 <gen>
Conditions
(Unit-type of (Entering unit)) Equal to Blood Mage
Actions
Hero - Create Powerup and give it to (Entering unit)
Leaving2
Events
Unit - A unit leaves Aufladung2 <gen>
Conditions
(Unit-type of (Leaving unit)) Equal to Blood Mage
Actions
Trigger - Turn off Entering2 <gen>
Entering3
Events
Unit - A unit enters Aufladung3 <gen>
Conditions
(Unit-type of (Entering unit)) Equal to Blood Mage
Actions
Hero - Create Powerup and give it to (Entering unit)
Leaving3
Events
Unit - A unit leaves Aufladung3 <gen>
Conditions
(Unit-type of (Leaving unit)) Equal to Blood Mage
Actions
Trigger - Turn off Entering3 <gen>
Entering4
Events
Unit - A unit enters Aufladung4 <gen>
Conditions
(Unit-type of (Entering unit)) Equal to Blood Mage
Actions
Hero - Create Powerup and give it to (Entering unit)
Leaving4
Events
Unit - A unit leaves Aufladung4 <gen>
Conditions
(Unit-type of (Leaving unit)) Equal to Blood Mage
Actions
Trigger - Turn off Entering4 <gen>
Entering5
Events
Unit - A unit enters Aufladung5 <gen>
Conditions
(Unit-type of (Entering unit)) Equal to Blood Mage
Actions
Hero - Create Powerup and give it to (Entering unit)
Leaving5
Events
Unit - A unit leaves Aufladung5 <gen>
Conditions
(Unit-type of (Leaving unit)) Equal to Blood Mage
Actions
Trigger - Turn off Entering5 <gen>
Leaderboard
Events
Time - Elapsed game time is 1.00 seconds
Conditions
Actions
Leaderboard - Create a leaderboard for (All players) titled Kills
Leaderboard - Add Player 1 (Red) to (Last created leaderboard) with label (Name of Blood Mage 0006 <gen>) and value (kills2 + 0)
Kills 2
Events
Unit - A unit Dies
Conditions
(Owner of (Dying unit)) Equal to Neutral Hostile
Actions
Set Variable Set kills2 = (kills2 + 1)
Leaderboard - Add Player 1 (Red) to (Last created leaderboard) with label (Name of Blood Mage 0006 <gen>) and value (kills2 + 0)
Herospieler1
Events
Unit - A unit owned by Player 1 (Red) . Dies
Conditions
(Unit-type of (Dying unit)) Equal to Blood Mage
Actions
Hero - Instantly revive (Dying unit) at (Center of Hero_revive <gen>) , Show revival graphics
Hero - Instantly revive (Dying unit) at (Center of Hero_revive <gen>) , Show revival graphics
Camera - Pan camera for Player 1 (Red) to (Center of Hero_revive <gen>) over 0 seconds
Gegenstand6
Events
Unit - A unit Acquires an item
Conditions
And - All (Conditions) are true
Conditions
(Number of living Crystal Arachnathid units owned by Neutral Hostile) Equal to 0
(Item-type of (Item being manipulated)) Equal to Gegenstand6
Actions
Game - Display to (All players) for 4.00 seconds the text: You are the winner of the game!
Wait 5.00 seconds
Game - Victory Player 1 (Red) ( Show dialogs, Show scores)
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.