Xonora
New Member
- Reaction score
- 3
How do I set a variable to mark the position of a unit every 0.03 seconds? Because if i do it like this,
Event
every 0.03 secs
Actions
set variable (ShipPosition[1]) to be position of Ship1
set variable (ShipPosition[2]) to be position of Ship2
call RemoveLocation (udg_ShipPosition[1])
call RemoveLocation (udg_ShipPosition[2])
Then my variable is useless or empty(?) I guess its coz i made the trigger to add and remove the variable at the same instant. But if i add a wait time then the marking will be irregular
Event
every 0.03 secs
Actions
set variable (ShipPosition[1]) to be position of Ship1
set variable (ShipPosition[2]) to be position of Ship2
call RemoveLocation (udg_ShipPosition[1])
call RemoveLocation (udg_ShipPosition[2])
Then my variable is useless or empty(?) I guess its coz i made the trigger to add and remove the variable at the same instant. But if i add a wait time then the marking will be irregular