No categories assigned

LUA:IsMezzedOrStunned

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

LUA Functions: IsMezzedOrStunned()

Checks to see if the given spawn is mezzed or stunned


Syntax

IsMezzedOrStunned(param1)


Parameters

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

Usage

function hailed(NPC, Spawn)
    if IsMezzedOrStunned(NPC) then
        Say(NPC, "I am mezzed or stunned!!!")
    end
end

This will make the spawn respond to a hail if it is mezzed or stunned

Notes

Returns a bool, true if the spawn is mezzed or stunned