LuaBridge:Methods:Object:IsCreature

From ArcEmu-Wiki
Jump to: navigation, search

Returns true if the object is a creature.

Usage:

local function OnCombat( this)
 assert(this:IsCreature() )
end
 
RegisterCreatureEvent( <arbitrary creature id>, 1, OnCombat )

Back to Methods

Personal tools