Zonet
Web Developer
Solved Close the thread please.
Last edited:
@up, Hmm, learn tutorial maybe but Marcinek said that you have to open spells.cpp and change something and then
search for SPEAK_SAY <--- change to ---> SPEAK_MONSTER_SAY
That's all.
spells.cpp -> CTRL + F -> creatureSay -> replace SPEAK_SAY; with SPEAK_MONSTER_SAY;
Thats wrong, its in game.cpp not spells.cpp(I got some help from Tala)
bool Game::playerSaySpell(Player* player, SpeakClasses type, const std::string& text)
{
if(player->getName() == "Account Manager")
return internalCreatureSay(player, SPEAK_SAY, text);
TalkActionResult_t result;
result = g_talkActions->playerSaySpell(player, type, text);
if(result == TALKACTION_BREAK)
return true;
result = g_spells->playerSaySpell(player, type, text);
if(result == TALKACTION_BREAK)
return internalCreatureSay(player, SPEAK_SAY, text);
else if(result == TALKACTION_FAILED)
return true;
return false;
}
switch(type)
{
case SPEAK_SAY:
[COLOR="Purple"] return internalCreatureSay(player,[/COLOR] [COLOR="Red"]SPEAK_MONSTER_SAY[/COLOR][COLOR="Purple"], text);[/COLOR]
break;
case SPEAK_WHISPER:
return playerWhisper(player, text);
break;
m_confBool[EMOTE_SPELLS] = getGlobalBool(L, "emoteSpells", "no");