• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Orange text on spells

Ronaldino

Esso Eh
Joined
Dec 25, 2007
Messages
745
Reaction score
0
Hello.

Someone know how to edit source for change that message ? I mean when someone say "exevo gran mas vis" it will msg like "Aaach" from manafluid (orange) instead of normal text when player talk.

Sorry for English :p
 
game.cpp

Code:
		return internalCreatureSay(player, SPEAK_SAY, text);

Change SPEAK_SAY to SPEAK_MONSTER_SAY or whatever you want.

#Edit

Ahh, i see this is 3 times in game.cpp. But i mean this between:
Code:
	result = g_spells->playerSaySpell(player, type, text);
	if(result == TALKACTION_BREAK)
		return internalCreatureSay(player, SPEAK_SAY, text);
	else if(result == TALKACTION_FAILED)
		return true;
 
Last edited:
You mean that you want the same text style as creatures?
*animated spells, it should be able to configurate in your config.lua, (:
-if not you can always add it? (:

Kind regards,
Icetear!
 
Code:
return internalCreatureSay(player, SPEAK_MONSTER_SAY, text);

Makes your spells be shown in orange, but its not showing the spell name, what should I write to make it like that?
 
Back
Top