View Single Post
  #5  
Old 01-08-2013, 11:50 PM
c0ncrete's Avatar
c0ncrete
Dragon
 
Join Date: Dec 2009
Posts: 719
Default

if you're wanting for it to occur when a player uses a click effect, use EVENT_CLICK_CAST.

note that you will need to have the client cast a spell in the event with $client->CastSpell() or they won't be able to do anything else.

it won't show you the spell that is cast (in the case of the fireworks rack, it's "Use Ability", according to ZAM) in the event, but it will show you the itemID that was clicked.
Reply With Quote