Aiden
Member
- Reaction score
- 0
im triying to do this:
if someone die and the INTEGER variable is 0, then add the player to a group with other player have the same score. and all have set alliance against the player with a score great than 0.
All this happen whith the event:
Unit - Die
can i do better ?
I got this trigger:
if someone die and the INTEGER variable is 0, then add the player to a group with other player have the same score. and all have set alliance against the player with a score great than 0.
All this happen whith the event:
Unit - Die
can i do better ?
I got this trigger:
Trigger:
- NoobTeam
- Events
- Unit - A unit Dies
- Conditions
- ((Dying unit) is A Hero) Equal to True
- Actions
- -------- E q u i p o 0 P O I N T S --------
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- Gold_Score[(Player number of (Owner of (Killing unit)))] Greater than 0
- Then - Actions
- Player Group - Remove (Owner of (Killing unit)) from Losbuenos
- Player Group - Add (Owner of (Killing unit)) to LosMalos
- Else - Actions
- If - Conditions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- Gold_Score[(Player number of (Owner of (Dying unit)))] Equal to 0
- Then - Actions
- Player Group - Remove (Owner of (Dying unit)) from LosMalos
- Player Group - Add (Owner of (Dying unit)) to Losbuenos
- Else - Actions
- If - Conditions
- Player Group - Make LosMalos treat Losbuenos as an Enemy
- Player Group - Make LosMalos treat LosMalos as an Enemy
- Player Group - Make Losbuenos treat Losbuenos as an Ally
- Events