- Joined
- Nov 12, 2006
- Messages
- 765
sorry couldn't think of a better title for this thread, anyways in my trigger the host, player 1, has a "sprinter" unit within a small confined space on the map. When the unit enters the first or second region (easy or medium) it works correctly, however i cant for the life of me figure out why it doesn't work for the hard region *3ed one*. And whenever the sprinter runs into the hard region, it selects the last "else" trigger. the easy medium hard and default all display different text.
-
Events
- Unit - A unit enters Choose Easy <gen>
- Unit - A unit enters Choose Medium <gen>
- Unit - A unit enters Choose Hard <gen>
-
Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Choose Easy <gen> contains (Entering unit)) Equal to True
-
Then - Actions
- Set DifficultyLevel = 1
- Set ChooseDifficulty = True
- Game - Display to (All players) the text: |cffff9900Difficult...
- Unit - Remove (Entering unit) from the game
- Trigger - Run Check Go <gen> (checking conditions)
- Trigger - Turn off (This trigger)
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Choose Medium <gen> contains (Entering unit)) Equal to True
-
Then - Actions
- Set DifficultyLevel = 2
- Set ChooseDifficulty = True
- Game - Display to (All players) the text: |c00540081Difficult...
- Unit - Remove (Entering unit) from the game
- Trigger - Run Check Go <gen> (checking conditions)
- Trigger - Turn off (This trigger)
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Choose Hard <gen> contains (Entering unit)) Equal to True
-
Then - Actions
- Set DifficultyLevel = 3
- Set ChooseDifficulty = True
- Game - Display to (All players) the text: |c00959697Difficult...
- Unit - Remove (Entering unit) from the game
- Trigger - Run Check Go <gen> (checking conditions)
- Trigger - Turn off (This trigger)
-
Else - Actions
- Set DifficultyLevel = 2
- Set ChooseDifficulty = True
- Unit - Remove Sprinter 0029 <gen> from the game
- Game - Display to (All players) the text: |c00540081Difficult...
- Trigger - Run Check Go <gen> (checking conditions)
- Trigger - Turn off (This trigger)
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)