No categories assigned

LUA:ClearEncounter

LUA Functions: ClearEncounter()

Clears the encounter list for the given spawn


Syntax

ClearEncounter(param1)


Parameters

Required - param1 (Spawn)
param1 is the spawn who's encounter we want to clear

Usage

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

This will clear the encounter list when hailed in combat