- Joined
- Mar 17, 2011
- Messages
- 34
[SOLVED]
Hey, I am currently trying to get this trigger working in my map.
What I am trying to do:
The first player who gets a set amount of kills (say 100) gains the ability to create this new hero (Lets name him WD in this). (But only he gets to summon it, nobody else may unlock it.)
I have two variables set for this,
WDInt (Integer variable for counting the kills)
WDOn (Boolean variable, which when set to True, will hopefully disable future creation of the WD)
My triggers are set as follows:
-
WDSetup:
-
Events
-
Unit - A unit Dies
-
-
Conditions
-
((Dying unit) is A structure) Equal to False
-
-
Actions
-
Set WDInt = ((Player number of (Owner of (Killing unit))) + 1)
-
-
WDMain:
-
Events
-
Unit - A unit Dies
-
-
Conditions
-
WDOn Equal to False
-
WDInt Equal to 100
-
((Dying unit) is A structure) Equal to False
-
-
Actions
-
Game - Display to (All players) the text: WARNING: The WD is now summonable!
-
Player - Make WD Available for training/construction by (Owner of (Killing unit))
-
-
WDSummoned
-
Events
-
Unit - A unit enters (Entire map)
-
-
Conditions
-
(Unit-type of (Entering unit)) Equal to WD
-
-
Actions
-
Set WDOn = True
-
What is my problem? :S
Thanks for any help.
Last edited: