LuaBridge:Methods:Object:IsItem

From ArcEmu-Wiki
Revision as of 22:13, 15 May 2011 by Paroxysm (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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