LiTtLe_LiOn
Active Member
- Reaction score
- 0
how to make a trigger like dota's team sell?
please tell me how to make it=]
please tell me how to make it=]
Routine Gold
Events
Time - Every 5.00 seconds of game time
Conditions
Actions
Set PlayerGroup = (All players matching ((((Matching player) is an ally of Player 1 (Red)) Equal to True) and ((((Matching player) controller) Equal to User) and (((Matching player) slot status) Equal to Is playing))))
Player Group - Pick every player in PlayerGroup and do (Actions)
Loop - Actions
Player - Add (50 / (Number of players in PlayerGroup)) to (Picked player) Current gold
Custom script: call DestroyForce(udg_PlayerGroup)
Player Leaves
Events
Player - Player 1 (Red) leaves the game
Player - Player 2 (Blue) leaves the game
Player - Player 3 (Teal) leaves the game
Player - Player 4 (Purple) leaves the game
Player - Player 5 (Yellow) leaves the game
Player - Player 6 (Orange) leaves the game
Conditions
Actions
Set PlayerGroup = (All players matching ((((Matching player) is an ally of (Triggering player)) Equal to True) and ((((Matching player) controller) Equal to User) and (((Matching player) slot status) Equal to Is playing))))
Player Group - Pick every player in PlayerGroup and do (Actions)
Loop - Actions
Player - Add (((Triggering player) Current gold) / (Number of players in PlayerGroup)) to (Picked player) Current gold
Custom script: call DestroyForce(udg_PlayerGroup)