Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if((abs(previousDistanceToTarget - currentDistanceToTarget)) <
- predefinedGranularMovementAmount)
- {
- unitMovementDistance = CalculateMovementAmount();
- if(unitMovementDistance < predefinedGranularMovementAmount)
- {
- CancelUnitMovementOrder();
- }
- }
Add Comment
Please, Sign In to add comment