Event_item_click
what's the difference between EVENT_ITEM_CLICK and EVENT_ITEM_CLICK_CAST? i understand that the former requires SoF+, but i'm not sure why the latter would lock up SoD.
i created a script_8556.pl for use with the bloodmoon pick axe while running some tests, and when i used EVENT_ITEM_CLICK_CAST instead of EVENT_ITEM_CLICK, i was stuck in "you can't use that command while casting" mode. i hadn't altered anything in the database for the item in question, and it was working with the other event. does something else have to be set for the item's entry that i am unaware of? this is what i was testing: Code:
sub EVENT_ITEM_CLICK_CAST |
after looking more closely at the source code, i sorted out that this was happening because i wasn't making a call to CastSpell() within my script, so it never finished the process. now that i've added it, it doesn't lock me up anymore.
|
All times are GMT -4. The time now is 10:07 AM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.