NavArrived
True when an agent has got where it was going.
NavArrived ( entity )
Parameters
- entity
- the agent.
Description
Tells you whether an agent has got where it was going: 1 when it has arrived, or has been stopped, or has never been sent anywhere; 0 while it is on its way.
Example
If NavArrived(guard) Then NavigateTo guard, Rnd(-20, 20), 0, Rnd(-20, 20)