I want to make hud texts on each hero show there changes and gos away when not on that hero WITHOUT destroying the hud text
Can anyone show me how to do that
If you do not want to destroy the HUD, you have to use player variables, for example:
Event
Ongoing - Each Player
All
All
Conditions
Actions
Create HUD Text(Event Player, Player Variable(Event Player, A), Player Variable(Event Player, B), Player Variable(Event Player, C), Left, 0, Color(White), Color(White), Color(White), Visible To And String, Default Visibility)
This way, variable A is the header, B is the subheader and C is the text.
You can modify them every time a player changes hero, for example:
Event
Ongoing - Each Player
All
Ana
Conditions
Actions
Set Player Variable(Event Player, A, Custom String("Ana, the banana"))
Set Player Variable(Event Player, B, Custom String("She is a support"))
Set Player Variable(Event Player, C, Custom String("Sleep everyone, yay!"))
Event
Ongoing - Each Player
All
Ashe
Conditions
Actions
Set Player Variable(Event Player, A, Custom String("Ashe and BOB"))
Set Player Variable(Event Player, B, Custom String("No Mercy"))
Set Player Variable(Event Player, C, Custom String("#Burning the world"))
You have to create a rule for each hero.
Omg thxs the way I was doing it b4 was so complicated lol this way is much better