- Joined
- Nov 30, 2007
- Messages
- 1,202
Whats wrong with selection/Deseletion...
I have been pulling my hairs out for hours and distilled my problem for you here:
I have been pulling my hairs out for hours and distilled my problem for you here:
-
select
-
Events
- Player - Player 1 (Red) Selects a unit
-
Conditions
- b Equal to True
-
Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Unit-type of (Triggering unit)) Equal to Town Hall
-
Then - Actions
- Game - Display to (All players) the text: Selected: City
- Set b = False
- Selection - Select Farm 0001 <gen>
- Set b = True
-
Else - Actions
- Game - Display to (All players) the text: Selected: Other
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Events
-
deselet
-
Events
- Player - Player 1 (Red) Deselects a unit
-
Conditions
- b Equal to True
-
Actions
- Game - Display to (All players) the text: Deselect
-
Events
Last edited: