[DiscordArchive] Does anyone have any link to tutorial how text placement works?
[DiscordArchive] Does anyone have any link to tutorial how text placement works?
Archived author: MR.MUSTACHE • Posted: 2019-04-15T11:58:59.708000+00:00
Original source
Does anyone have any link to tutorial how text placement works?
Archived author: MR.MUSTACHE • Posted: 2019-04-15T11:59:14.271000+00:00
Original source
I want to put ICON in them middle of the gossip menu
Archived author: MR.MUSTACHE • Posted: 2019-04-15T11:59:30.650000+00:00
Original source
this is the code so far
tringstream s;Archived author: MR.MUSTACHE • Posted: 2019-04-15T11:59:38.635000+00:00
Original source
```cpp
std:
tringstream s;
s << "|TInterface/ICONS/achievement_boss_ladyvashj:60:60|t: ";
s << "\n";
s << "|c55555111QUEST RATING SYSTEM";
s << "\n";
s << "Quest Rating: " << getQuestRating(player);
s << "\n";
player->PlayerTalkClass->SendGossipMenu(s.str().c_str(), creature->GetGUID());
```
![[Image: unknown.png?ex=690bec42&is=690a9ac2&hm=0...baf8c1d78&]](https://cdn.discordapp.com/attachments/376457042392514560/567325999880994816/unknown.png?ex=690bec42&is=690a9ac2&hm=07688c674b4d878beff83d9314712b2d2d39c53ea3dfedceec8825bbaf8c1d78&)
Archived author: MR.MUSTACHE • Posted: 2019-04-15T12:30:58.779000+00:00
Original source
ah, once again I found the answer thanks to <@248138535968833537>
![[Image: unknown.png?ex=690bec42&is=690a9ac2&hm=0...baf8c1d78&]](https://cdn.discordapp.com/attachments/376457042392514560/567325999880994816/unknown.png?ex=690bec42&is=690a9ac2&hm=07688c674b4d878beff83d9314712b2d2d39c53ea3dfedceec8825bbaf8c1d78&)
Archived author: MR.MUSTACHE • Posted: 2019-04-15T12:31:09.991000+00:00
Original source
This guy is literally my savior for like... everything
Archived author: MR.MUSTACHE • Posted: 2019-04-15T12:32:59.478000+00:00
Original source
how can I place a text in the middle too?