DedicatedOT
New Member
I'm using TFS 0.2.3 how come there's no Emote spells option in config.lua;
How can I use emote spells?
How can I use emote spells?
If you have emotespells -> yes.
What does it do? ;o
result = g_spells->playerSaySpell(player, type, text);
return internalCreatureSay(player, SPEAK_SAY, text);
return internalCreatureSay(player, SPEAK_MONSTER_SAY, text);
To make the spells orange or emoted you have to edit sources:
Open the source project with dev c++.
Go to game.cpp
Search for this:
Code:result = g_spells->playerSaySpell(player, type, text);
Two lines under it there is this line:
Code:return internalCreatureSay(player, SPEAK_SAY, text);
Replace the second line (return internalCreatureSay(player, SPEAK_SAY, text)line with this one:
Code:return internalCreatureSay(player, SPEAK_MONSTER_SAY, text);
Hope it helped you..
Please Rep++
Nice to see people helping, but why make it difficult? why not just say got into game.cpp and search return internalCreatureSay(player, SPEAK_SAY, text);[/CODE]? instead of searching for 1 line to find another? nobody heard of control+f?
on notepads or so is Ctrl + B
To make the spells orange or emoted you have to edit sources:
Open the source project with dev c++.
Go to game.cpp
Search for this:
Code:result = g_spells->playerSaySpell(player, type, text);
Two lines under it there is this line:
Code:return internalCreatureSay(player, SPEAK_SAY, text);
Replace the second line (return internalCreatureSay(player, SPEAK_SAY, text)line with this one:
Code:return internalCreatureSay(player, SPEAK_MONSTER_SAY, text);
Hope it helped you..
Please Rep++
Thank you! how do I rep?