Ok, thanks I see how that will work and I have created the Lead mobs, But what is confusing me is I need the one main NPC (Global War Trigger) to spawn those Lead mobs into the proper places arround the zone.
Here is what I have now.
This is for the Global war trigger NPC
sub EVENT_SAY
{
if($text=~/hail/i)
{
plugin::Whisper("${name}, I can only be activated one way. Sorry");
}
# Check status if using GM test stuff
if($status > 80 && $text =~ /spawn/i)
{
quest::broadcast("War! War! War is uppon Norrath! Venkars forces have been spotted in the Greater Faydark! We must drive them back or we risk the loss of Felwithe and the Greater Faydark!");
quest::shout("War is uppon us! The forces of Venkar have been sighted in the greater faydark! If they are not driven back we risk loosing not only the Greater Faydark, but Felwithe aswell!");
quest::spawn2(1254,0,0,-486.53,-2066.09,-0.09,$h); #1Scion
quest::spawn2(1255,0,0,-120.84,43.00,0.73,$h); #2Kelethin
quest::spawn2(1256,0,0,15.02,2400.53,19.24,$h); #3CB
quest::spawn2(1258,0,0,-106.64,-2494.43,2.84,$h); #4Lfay
}
}
--------------------------------------------------
Here is what I have for the four individual Leaders
sub EVENT_SPAWN
{
quest::setnexthpevent(95);
}
sub EVENT_HP
{
quest::shout("Minions, I am under attack! Aid me in battle!");
# Usage: plugin::SpawnMixedFormation(LeaderMob, Distance, Columns, Rows, LeadDist=Distance, MaxZDiff=15, NPCID, NPCID...);
plugin::SpawnMixedFormation($npc, 15, 15, 15, 10, 15, 1259, 1259, 1259, 1259, 1259);
}
}
--------------------------
The global trigger NPC wont respond past the trigger word of spawn. No broadcast or shout.
|