Ascuas Funkeln
Rakkedo Game
- Joined
- Apr 14, 2013
- Messages
- 549
- Solutions
- 33
- Reaction score
- 309
- Location
- Poland
- GitHub
- AscuasFunkeln
TSF 0.3.6 V8
Hello,
Anyone have idea how to change source to make animated text "static".
I think this will be the easiest and fastest way to make onLook item colored every single word in different colors...
Already i made script thats colour every word in different color, but to finish i need to make this animated text freeze xD
Any help, suggestions, ideas?
Hello,
C++:
void Game::addAnimatedText(const Position& pos, uint8_t textColor,
const std::string& text)
{
const SpectatorVec& list = getSpectators(pos);
addAnimatedText(list, pos, textColor, text);
}
void Game::addAnimatedText(const SpectatorVec& list, const Position& pos, uint8_t textColor,
const std::string& text)
{
Player* player = NULL;
for(SpectatorVec::const_iterator it = list.begin(); it != list.end(); ++it)
{
if((player = (*it)->getPlayer()))
player->sendAnimatedText(pos, textColor, text);
}
}
Anyone have idea how to change source to make animated text "static".
I think this will be the easiest and fastest way to make onLook item colored every single word in different colors...
Already i made script thats colour every word in different color, but to finish i need to make this animated text freeze xD
Any help, suggestions, ideas?