EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Quests::Q&A (https://www.eqemulator.org/forums/forumdisplay.php?f=599)
-   -   popupid with DiaWind (https://www.eqemulator.org/forums/showthread.php?t=41721)

Minirva 01-21-2018 02:03 PM

popupid with DiaWind
 
Would someone be willing to show me an example of how to use popupid with DiaWind? I can't seem to figure it out.

Akkadius 01-22-2018 12:49 AM

Quote:

Originally Posted by Minirva (Post 257180)
Would someone be willing to show me an example of how to use popupid with DiaWind? I can't seem to figure it out.

The popup plugin has the options listed in the markup:

http://wiki.eqemulator.org/p?The_Dia...gin#the-markup

Anything in the markup gets parsed out and removed from the end result

Example:

Code:

            plugin::DiaWind("
                Your {lb}".quest::getItemName($stone)."~ starts to glow with a dark radiance...
                <br><br>
                Touch the shrine with the {lb}keystone~?
                popupid:30
                wintype:1
                mysterious noquotes
            ");


Minirva 01-24-2018 07:17 PM

Thank you Akkadius. I did have that part right then. How I was trying to set things up with the other npcs and my inexperience is the issue!

I believe the problem is coming from trying to call the plugin from an npc that does not have a PC targeted. I was originally trying to call the plugin from a sub EVENT_SIGNAL.
I do know that hailing the npc/s will not be an option for how I want the quest set up. This is a non combat situation also between npc's and the PC.

Over the last couple days I have been trying to do this with $npc->, $mob-> and $entity_list. Am I looking in the correct spot to figure out how to get an npc to target a PC without aggro or hails?


All times are GMT -4. The time now is 04:35 PM.

Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.