mobs broadcasting
Is it possible to have a mob Broadcast something on death? i.e Lord Nagafen broadcasts Jenco has slain me !
|
sub EVENT_DEATH
{ quest::say("I'll be back..."); } |
like broadcasting as in Serverwide message sorry if i sounded confusing =-/
|
quest::shout2() will do a worldwide shout.
|
thanks andmetal was what i was looking for =)
|
hmm is there a world wide emote?
|
Not an emote, just a world-wide shout =P
|
well Nagafen shouting on his own death so he can be heard on velious kind of unrealistic =)
an emote like "you hear news that Nagafen has fallen at the hands of BLA" would be more appropriete. but I hear zone/server emotes do not realy work... |
Right. Be nice to be able to code a broadcast as you can do with #emote world within the perl function, but that's a way off, I'd imagine. I'm pretty sure that any time it was ever done on Live that it was actually done manually by a GM, as I've seen a few with typos =P
|
well if you can send a zone/server wide shout, then to make it an emote all you need is to chage the heading so it dont say "nagafen shouts" in front of it.
this is of course up to coders to look into =) |
Added for zone emote and world emotes
Add to questmgr.cpp : Code:
void QuestManager::ze(int type, const char *str) { Code:
void ze(int type, const char *str); Code:
XS(XS__ze); Code:
newXS(strcpy(buf, "ze"), XS__ze, file); Code:
sub EVENT_SPAWN { |
you should submit this to code submission forum :cool:
would be nice to see devs incorporate this into main build |
All times are GMT -4. The time now is 04:14 AM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.