KvickaN
TH.net Regular
- Reaction score
- 24
So this is the problem...
When a player types -last hope, all purple units die but not the others.
Can anyone see whats wrong?
And exactly the same for blue, teal and purple except:
and
When a player types -last hope, all purple units die but not the others.
Can anyone see whats wrong?
Code:
Add Sheeps To Unit Group
Events
Unit - A unit enters (Entire map)
Conditions
And - All (Conditions) are true
Conditions
(Unit-type of (Entering unit)) Not equal to Farm red
(Unit-type of (Entering unit)) Not equal to Farm blue
(Unit-type of (Entering unit)) Not equal to Farm teal
(Unit-type of (Entering unit)) Not equal to Farm purple
Actions
Unit Group - Add (Last created unit) to Sheeps
Code:
Red Last hope
Events
Player - Player 1 (Red) types a chat message containing -last hope as An exact match
Conditions
Actions
Sound - Play LastHope <gen>
Game - Display to (All players) the text: |c00ff0303Red can n...
Unit Group - Pick every unit in Sheeps and do (Actions)
Loop - Actions
Unit - Kill (Picked unit)
Trigger - Turn off (This trigger)
And exactly the same for blue, teal and purple except:
Code:
Player - Player 1 (Red) types a chat message containing -last hope as An exact match
Code:
Game - Display to (All players) the text: |c00ff0303Red can n...