LuaBridge:Methods:Object:IsGameObject

From ArcEmu-Wiki
Jump to: navigation, search

Returns true of the object is a gameobject.

Usage :

local function OnSpawn( _self)
 assert(_self:IsGameObject() )
end
 
RegisterGameObjectEvent( ..., 2, OnSpawn)

Back to Methods

Personal tools