ArmyOfFrogs
New Member
- Reaction score
- 20
Trying to get a unit to automatically follow me. One is made for each player that is playing at 15 seconds game time then..
Thanks if you can spot the error
Trigger:
- events
- time - elapsed game time is 16.00 seconds
- Conditions
- actions
- unit group - pick every unit in (units in (playable map area)) and do (actions)
- loop - actions
- Set Wisp[1] = (Units owned by Player 1 (Red) matching ((Unit-type of (picked unit)) equal to archer))
- Set Wisp[2] = (Units owned by Player 2 (Blue) matching ((Unit-type of (picked unit)) equal to archer))
- //repeats for all players
- loop - actions
- unit group - pick every unit in (units in (playable map area)) and do (actions)
- Trigger - Turn on Move <gen>
Trigger:
- Move
- Events
- Every .5 seconds of game time
- conditions
- actions
- Unit Group - Order Wisp[1] to Right-click RedHero ((this is a unit variable i have set to the heroes))
- //repeats for all the array on the seperate heroes
- Events
Thanks if you can spot the error