406 B
406 B
Function: ClearRunningLocations(spawn)
Description:
Removes all the running locations on the Spawn.
Parameters:
spawn
(Spawn) - Spawn object representingspawn
.
Returns: None.
Example:
-- From SpawnScripts/FarJourneyFreeport/agoblin.lua
function run_around_loop_init_pause(NPC)
ClearRunningLocations(NPC)
AddTimer(NPC, 700, "run_around_loop_init_continue")
end