Wratox1
Member
- Reaction score
- 22
hello,
i have this trigger:
but im not sure how to remove the right array with this line:
what should i put inside the bracket([]) to make it remove the arraynumber of the picked player?
i have this trigger:
Trigger:
- Camera
- Events
- Time - Every 0.02 seconds of game time
- Conditions
- Actions
- Player Group - Pick every player in (All players) and do (Actions)
- Loop - Actions
- Camera - Set (Picked player)'s camera Distance to target to 1000.00 over 0.00 seconds
- Unit Group - Pick every unit in (Units owned by (Picked player)) and do (Actions)
- Loop - Actions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- ((Picked unit) is A Hero) Equal to True
- Then - Actions
- Set hero_point[(Player number of (Picked player))] = (Position of (Picked unit))
- Camera - Set a spacebar-point for (Picked player) at hero_point[(Player number of (Picked player))]
- Custom script: call RemoveLocation(udg_hero_point[])
- Else - Actions
- If - Conditions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- Loop - Actions
- Loop - Actions
- Player Group - Pick every player in (All players) and do (Actions)
- Events
but im not sure how to remove the right array with this line:
Trigger:
- Custom script: call RemoveLocation(udg_hero_point[])
what should i put inside the bracket([]) to make it remove the arraynumber of the picked player?