Log in

View Full Version : Couple of Questions


Asdaddy1
05-11-2016, 06:07 PM
1. I am trying to set up where characters that are level 1 to join a default guild. How do i set up it to automatically force them to join?
I created a quest but it didn't work, here it is

sub EVENT_ENTER {
if($ulevel eq 1) {
$client->Message(15,"Young Warrior is what they call you. Upon being placed into the Dashing Warrior Guild is a massive step for you to being the best there is! Now adventure ahead and conquer the world of Everquest");
quest::setguild(1,0);
}
}

2. How to prevent mercs from despawning on zoning?

atrayas
05-11-2016, 06:26 PM
sub EVENT_ENTER is triggered by any client who enters a mob's proximity.

thats why most likely...could use sub EVENT_ENTERZONE and use it for the start zone

Esildor
05-11-2016, 06:37 PM
sub EVENT_ENTER is triggered by any client who enters a mob's proximity.

thats why most likely...could use sub EVENT_ENTERZONE and use it for the start zone

This, in the player.pl folder ... probably easier to do it in the world player.pl

Asdaddy1
05-11-2016, 06:45 PM
thanks, i will try it out

Asdaddy1
05-11-2016, 07:00 PM
i done it and it is in the global folder but still not working

Esildor
05-11-2016, 09:27 PM
You did #reloadquest?

If it's in your global folder you probably need to do #reloadworld