|09-30-2010, 10:18 AM||#1|
Join Date: May 2010
Initialization trigger not working.
Hello, I am making a map in which you can play as the naga and there is something wrong with the following trigger:
Instead of creating Naga units, it makes normal ones.
NagaRed-------- This trigger definitely works - end of story. I checked it myself --------
Trigger - Turn off NagaRed <gen>
Trigger - Turn off NagaBlue <gen>
Trigger - Turn on Defeat <gen>
Trigger - Turn on Victory <gen>
Melee Game - Create starting units (for all players)
If (All Conditions are True) then do (Then Actions) else do (Else Actions)Melee Game - Use melee time of day (for all players)
Then - ActionsElse - Actions
Unit Group - Pick every unit in (Units owned by Player 1 (Red) matching (((Triggering unit) is A peon-type unit) Equal to True)) and do (Actions)
Melee Game - Limit Heroes to 1 per Hero-type (for all players)
Melee Game - Give trained Heroes a Scroll of Town Portal (for all players)
Melee Game - Set starting resources (for all players)
Melee Game - Remove creeps and critters from used start locations (for all players)
Melee Game - Run melee AI scripts (for computer players)
I use an unmodified WE. End of story. I will not switch.
|Sponsored Links - Login to hide this ad!|
|09-30-2010, 12:37 PM||#2|
Join Date: Oct 2007
The elapsed game time event does not provide a Triggering unit. You probably meant Matching unit which is used in group pick conditions to refer to the unit that should be checked to get through. Picked unit is then used in the group loop actions. Analogically, this counts for player forces.
|Thread Tools||Search this Thread|