Log in

View Full Version : popupid with DiaWind


Minirva
01-21-2018, 02:03 PM
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
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_DiaWind_Plugin#the-markup

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

Example:

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?