No categories assigned

LUA:Runback

Revision as of 19:03, 28 August 2013 by Jabantiz (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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)