- Joined
- Jul 26, 2004
- Messages
- 99
My map initialization trigger isn't completely executing. Not sure why. I know that SOME of it is executing, but other parts of it aren't.
I'm currently trying to figure out why this would be a problem. Lemme know if there are any general things not to do upon initialization.
Here's the trigger:
I'm currently trying to figure out why this would be a problem. Lemme know if there are any general things not to do upon initialization.
Here's the trigger:
-
Initialization
-

Events
-


Map initialization
-
-

Conditions
-

Actions
-


For each (Integer A) from 1 to 10, do (Actions)
-



Loop - Actions
-




Camera - Pan camera for (Player((Integer A))) to (Player 12 (Brown) start location) over 0.00 seconds
-




If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-





If - Conditions
-






((Player((Integer A))) controller) Equal to User
-






((Player((Integer A))) slot status) Equal to Is playing
-
-





Then - Actions
-






Unit - Creat 1 Hero Select Helper for (Player((Integer A))) at (Player 12 (Brown) start location) facing Default building facing degrees
-






Player - Set (Player((Integer A))) Food cap to 1
-
-





Else - Actions
-






Unit - Remove (Random unit from (Units owned by (Player((Integer A))) of type Personal Training)) from the game
-
-
-




Player - Make (Player((Integer A))) treat Player 11 (Dark Green) as an Ally with shared vision
-




Player - Make Player 11 (Dark Green) treat (Player((Integer A))) as an Ally with shared vision
-




Player - Divert (100 / (Number of players in (All players matching (((Picked player) slot status) Equal to Is playing))))% of the Gold income of Player 11 (Dark Green to (Player((Integer A)))
-
-



Player - Turn Gives bounty On for Player 12 (Brown)
-



Player - Set Player 12 (Brown) Current gold to 50000
-



Destructible - Open Gate (Horizontal) 0004 <gen> *THIS LINE DOES NOT ACTIVATE!!
-



Destructible - Pick every destructible in (Playable map area) and do (Actions)
-




Loop - Actions
-





If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-






If - Conditions
-







Or - Any (Conditions) are true
-








(Destructible-type of (Picked destructible)) Equal to Felwood Tree Wall
-








(Destructible-type of (Picked destructible)) Equal to Felwood Canopy Tree
-








(Destructible-type of (Picked destructible)) Equal to Northrend Tree Wall
-








(Destructible-type of (Picked destructible)) Equal to Northrend Canopy Tree
-
-
-






Then - Actions
-







Trigger - Add to Tree Regrowth <gen> the event (Destructible - (Picked destructible) dies)
-
-






Else - Actions
-







Do nothing
-
-
-
-
-



-------- Set Training Units --------
-



Set UnitType_Allies[0] = Footman
-



Set ...
-



Set UnitType_Wave5Elite[4] = Unholy Prophet (Wave 5: Elite)
-



-------- Initiate Training -------- *NONE OF THE STUFF BELOW ACTIVATES!!
-



Unit Group - Pick every unit in (Units of Type Monster Hut (Wave 1)) and do (Unit - Order (Picked unit to train/upgrade to a UnitType_Wave1[0])
-



Unit Group - Pick every unit in (Units of Type Monster Hut (Wave 1: Elite)) and do (Unit - Order (Picked unit to train/upgrade to a UnitType_Wave1Elite[0])
-



Unit Group - Pick every unit in (Units of Type Castle) and do (Unit - Order (Picked unit to train/upgrade to a UnitType_Allies[0])
-
-
-
