No categories assigned

LUA:Runback

LUA Functions: Runback()

Forces the given spawn to run back to where it was when combat started


Syntax

Runback(param1)


Parameters

Required - param1 (Spawn)
param1 is the spawn you want to run back

Usage

function hailed_busy(NPC, Spawn)
    Runback(NPC)
end

This will cause the spawn to run back to where it was when combat started when it is hailed in combat (hailed_busy)