Hello guys, i was wondering if there was a way to set a condition for a player being in a team
like...
Team1HeroBuy
Events
Unit - IntellectTav 0007 <gen> Sells a unit
Unit - AgilityTav 0006 <gen> Sells a unit
Unit - StrengthTav 0008 <gen> Sells a unit
Conditions
If(player is in team one)
Actions
Unit - Move (Sold unit) instantly to (Random point in Region 001 <gen>)
Unit - Kill (Buying unit)
Player - Set (Triggering player) Current gold to 0
Player - Set (Triggering player) Current lumber to 0
What i wanted was in conditions, i can't quite figure it out, but making 12 different triggers for 12 players is annoying.
like...
Team1HeroBuy
Events
Unit - IntellectTav 0007 <gen> Sells a unit
Unit - AgilityTav 0006 <gen> Sells a unit
Unit - StrengthTav 0008 <gen> Sells a unit
Conditions
If(player is in team one)
Actions
Unit - Move (Sold unit) instantly to (Random point in Region 001 <gen>)
Unit - Kill (Buying unit)
Player - Set (Triggering player) Current gold to 0
Player - Set (Triggering player) Current lumber to 0
What i wanted was in conditions, i can't quite figure it out, but making 12 different triggers for 12 players is annoying.