quest::popup with linked response...
Code:
sub EVENT_SAY{ in /lua I found this code for going to plane of time without a popup. Code:
function event_say (e) |
I see two ways you can do this:
1. If your goal is simply to avoid the trash mobs, create an instance of the zone within which the dragon resides and populate it with the dragon alone (plus any static adds for the event). The Perl files (or lua) will run the scripts no problem. I will link a short script for you when I get home. 2. If you wish to use the actual static zones, just place the characters, that's even easier, using the movepc function. Again, I'll make and post a short script for you when I get home. |
I am pretty sure saylinks are not supported inside the popup window. :(
If you however want fancy popup windows I'd suggest checking out this plugin from Akkadius.. looks very polished when implemented correctly :) http://wiki.eqemulator.org/p?The_Dia...ster_Reference |
Yeah, saylinks are not supported in the popup window. However, there is a EVENT_POPUPRESPONSE you can use based on you hitting 'Yes' on the popup window, use $popupid. Although I believe you have to specify ID in quest::popup(title, text, popupid, buttons, duration) in order to have different outcomes based on different popup windows.
|
I'm out the door, hoping syntax is correct:
Code:
sub EVENT_ENTERZONE { |
Quote:
|
Its been a while, I've not had a lot of time to work on my server. Back to the grind stone after the holidays I suppose...
I've downloaded "The DiaWind Plugin" and added the needed file to the plug in folder but the problem I'm running into is the global_player file. In my quests\global\ folder global_player is a *.lua file, not a *.pl file. Am i missing something? I created a global_player.pl file and placed it into the quests\global\ folder but doesn't seem to make a difference when it comes to functionality. |
lua has precedence over perl for quest files
So the first check is if a lua exists, if so it wont bother looking for a perl (pl) file. Curious, what is the global_player.lua (as in mind posting it?)? |
All times are GMT -4. The time now is 12:10 AM. |
Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.