couple of questions about perl
There is a couple of commands I am having trouble with. One of them is the Quest::depop command. How is this actually used? I have tried useing it as quest::depop, quest::depop() and quest:depop(xxx)
XXX is the npc id of the mob I wish to depop. None of these seemed to work. I know the syntax in the quest file is right, cause I changed the quest::depop to a quest::say and it worked fine.
Another I am unsure about how to make a NPC do something when they get to a certain waypoint. I see the subevent for it, but how do you actually define the WP you wish to have the action take place?
And finnally is there a place with a sample quest on how to make a mob despawn after X time. Like say I wanted a mob to spawn for 2 minutes (120 seconds) then depop?
|