Paying for pets
I read a post a while ago that was very useful in quest production. Basically, the quest allows a player to obtain a pet by hailing another NPC, but it isn't like a bot, more like a summoned or charmed pet. This is the original code:
Code:
sub EVENT_SAY { Code:
sub EVENT_SAY { |
Instead of the platinum part being in the EVENT_SAY block, you need it in an EVENT_ITEM one.
|
An example of how it should be is this:
Code:
sub EVENT_ITEM { |
Thanks guys, I never even gave that a thought :P
Switched it to look like this: Code:
sub EVENT_SAY { |
You also have a colon ':' instead of a semicolon ';' at the end of the 2nd quest::say line. This could easily confuse the parser if you extend that section.
|
All times are GMT -4. The time now is 04:48 AM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.