PDA

View Full Version : sub EVENT_POPUPRESPONSE to Player.pl


Akkadius
02-07-2010, 08:40 PM
For not only to aid the purpose of what I am trying to achieve on the development of my server, I think it would be phenomenal to be able to call a sub EVENT_POPUPRESPONSE inside the Player.pl instead of having to use a mob in focus to activate this. Although for how I have it set up it's not an incredible pain but I think would make it a lot easier for people trying to do something similar to what I am trying to do. I'll display a picture for an example...

http://img.photobucket.com/albums/v450/Blade654/Bota-popup.jpg

So the idea is that you would click on the door that represents a link in time. And by accepting this door's description it would send you to that place in time, but in this case my players would have to target the mob placed right below for label reasons...

Qeynos-Blackburrow_Showdown.pl

sub EVENT_POPUPRESPONSE {
if ($popupid eq "1")
{
quest::movepc(1,186.4, 14.3, 3.1, 192);
}
}

Having this called in the player.pl as a self standing window would a tad bit nicer for even raid events for servers who have defeated such and such and would like to be given an option to be sent to X for X.

If any questions let me know, I appreciate the time you guys put into this project as I plan on giving back.

Thanks,
~Akkadius~

trevius
02-07-2010, 10:54 PM
You should read through the changelog sometimes :P

http://code.google.com/p/projecteqemu/source/browse/trunk/EQEmuServer/changelog.txt

Derision set it to go to the player.pl about a week ago :P

Akkadius
02-07-2010, 11:03 PM
Oh jeeeez, I haven't updated my compile for a little over a week to look through it. Heh, thanks...