No categories assigned

LUA:IsHeroic

LUA Functions: IsHeroic()

Returns a true/false if a spawn is heroic.

Syntax

IsHeroic(param1)


Parameters

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


Usage

function hailed(NPC, Spawn)
    if IsHeroic(Spawn) then
        Say(NPC, "I'm heroic!")
    end
end

When this npc is hailed it will say, "I'm heroic!", if it is indeed heroic.