Go Back   EQEmulator Home > EQEmulator Forums > Quests > Quests::Custom

Quests::Custom Custom Quests here

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 12-02-2019, 09:12 AM
strugglegenerator's Avatar
strugglegenerator
Hill Giant
 
Join Date: May 2012
Location: Minnesota
Posts: 231
Default Spawn NPC from item click

This example .pl script from gitbook does not work on my server (Titanium Client):

Quote:
sub EVENT_ITEM_CLICK {
#:: Use == for numeric comparison to Item ID 54711 - Evil Eye Costume Kit
if ($itemid == 54711) {
#:: Change the player's race to 469 - Evil Eye
quest::playerrace(469);
}
}
I tested this by summoning item ID 54711, which gave me the Evil Eye Costume Kit. Then I tried to right click the Evil Eye Costume Kit but nothing happens.

I have tried swapping out the item_id for other items, such as Staff of the Serpent, but that doesn't work either. Yes, I have remembered to change the scriptfileid on the item to match the name of the script (in this case, the script is named script_30073.pl so I gave it a scriptfileid of 30073.

I even tried this using the .lua version of the script but I am having absolutely no luck with this.

Am I doing something glaringly wrong or could this be a deeper issue? Please advise. Thank you <3
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 08:00 AM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3