No categories assigned

LUA:IsEpic

LUA Functions: IsEpic()

Checks to see if the given spawn is epic

Syntax

IsEpic(param1)


Parameters

Required - param1 (Spawn)
param1 is the spawn to check


Usage

function hailed(NPC, Spawn)
    if IsEpic(NPC) then
        Say(NPC, "I am epic!")
    end
end

When the NPC is hailed it will respond if it is epic