LuaBridge:Methods:Object:IsItem

From ArcEmu-Wiki
(Redirected from LuaBridge:Object:IsItem)
Jump to: navigation, search

Returns true if the object is an item.

Usage:

local function OnHello( this, plr)
 assert( this:IsItem() )
end
 
RegisterItemGossipEvent( <arbitrary item id>, 1, OnHello)

Back to Methods

Personal tools