PC input into quest
Is there a way I can use and item number spoken by a pc as the input for quest::summonitem() example:
Code:
sub EVENT_ITEM |
Hmm. Interesting concept. You could try quest::summonitem($text); carefully nested inside an if(condition) since I believe "$text" holds the value of what you /say to the targetted NPC... Try it, let us know.
|
Code:
sub EVENT_SAY { |
Thank you
Awesome, thanks guys... will try it out after I get home from work.
Next question is can I lock this inside an item turn in? I only want the PC to be able to trigger this after they turn in an item. Code:
sub EVENT_ITEM |
no, you can only have one event_say in the file.
you can set a temporary variable to have the npc summon the item when whatever key item is handed in.. Code:
sub EVENT_SPAWN { |
Quote:
Thx Ylosh! |
Code:
sub EVENT_SAY { |
heh, thanks fnw..
|
All times are GMT -4. The time now is 11:17 AM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.