PDA

View Full Version : Npc Ooc?


Kingly_Krab
07-25-2013, 09:59 AM
Is there any possibility for allowing NPCs to shout in OOC? Our would you would have to do GMSay of the same color with 'says out of character'? Example of GMSay below.

sub EVENT_SAY
{
if($text !~ /Hail/i)
{
my $npcname = $npc->GetCleanName();
quest::gmsay("$npcname says out of character, '$text'", 2, 1, 0, 0);
}
else
{
plugin::Whisper("Just say anything to me and I'll announce it in 'OOC'!");
}
}

I just think it'd be really cool to do, just to give them the idea that the NPC is like a normal player and has the ability to shout and do other things as such.