View Single Post
  #258  
Old 11-24-2012, 01:27 AM
Splorf22 Splorf22 is offline
Planar Protector


Join Date: Mar 2011
Posts: 3,236
Default

Quote:
Originally Posted by Loly Taa [You must be logged in to view images. Log in or Register.]
We all want to compete honorably- Lets say FTE shouts were put in; All of us on Trak spawn, Trak spawns- aggros BDA first, shouts the name of whom he aggroed first. TMO (and assumably FE if they're smart) would simply run out of the room and relog as quickly as they could.

Or on Faydedar, there would be no question who pulled him once the shout goes off- once it goes off once via this code it does not go off again until it de-aggros, so if you tag something and it doesn't say your name- it's already aggroed.

If anyone really wants to help the raid scene, get Rogean or nilbog to implement this code (or something similar) as part of the quest scripts for each raid mob.

Code:
sub EVENT_AGGRO { # Triggered when a player aggros a mob
   if(!$thisFirstAggro) { # Checks if this person is the first person to aggro this mob
      quest::shout(“$name was the first to engage me.”); # Shout name of first person to activate this event
      $thisFirstAggro++; # Increment this variable so we don't do multiple shouts.
   }
}

sub EVENT_COMBAT { # Triggered when a mob enters or exits combat
   if(!$combat_state) { # If we are leaving combat (state 0) 
      $thisFirstAggro = 0; We reset $thisFirstAggro as the NPC leaves aggroed state so it can shout again.
      quest::shout(“My attackers have failed!”); # No more, "can we tag it yet!?" questions.
   }
}
perl . . . /cry
__________________
Raev | Loraen | Sakuragi <The A-Team> | Solo Artist Challenge | Farmer's Market
Quote:
Originally Posted by Arteker
in words of anal fingers, just a filthy spaniard