LuaBridge:Methods:Object:IsUnit

From ArcEmu-Wiki
Jump to: navigation, search

Returns true if the object is a unit(ie. Either a player or a creature)

Usage:

local function OnCombat( _self)
 assert( _self:IsUnit() )
end

Back to Methods

Personal tools