Is there a way (actor event or other) that can display text label above a unit ? But I need it to display in the editor not just ingame, so triggers not. I want the name of the unit to be seen above the unit placed on the map.
Would it be seen in the editor? With timer expired or actor creation event? If it can do it, im not sure how. Also I dont see my custom text actor in the list of actors when using 'Create'.
Edit": Uff seems I based on Text, I saw this map and post and with the custom actor CActorText and it lists. And that actor there can be used with the timer to see in the editor as well. thx though - so Displaying Text in editor is solved
A side question: Do you know what Term I can use in actor event so when I create the same Text Actor from Different Units, I can just use a Term to Set text based On Condition which unit it is, so that I dont have to paste a separate text Actor created for every unit ?
I'm trying to make an actor event in the text actor:
- Actor Creation
- Term I need (If Source Actor is ... )
Set Text to NameA (that changes the text of the Text actor)
- Actor Creation
- Term I need (If Source Actor is ... Unit B actor)
Set Text to NameB
Edit 2 - The term 'Ref Exists' and select the actor of the unit seems to distinguish which Unit Actor this Text was created from when the unit actors create the text actor ofc. DONE
Is there a way (actor event or other) that can display text label above a unit ? But I need it to display in the editor not just ingame, so triggers not. I want the name of the unit to be seen above the unit placed on the map.
You mean like a Text actor can? Try making it be created on actor creation of the unit.
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
https://www.sc2mapster.com/forums/resources/tutorials/179654-data-actor-events-message-texture-select-by-id
https://media.forgecdn.net/attachments/187/40/Screenshot2011-04-17_09_16_21.jpg
Would it be seen in the editor? With timer expired or actor creation event? If it can do it, im not sure how. Also I dont see my custom text actor in the list of actors when using 'Create'.
Edit": Uff seems I based on Text, I saw this map and post and with the custom actor CActorText and it lists. And that actor there can be used with the timer to see in the editor as well. thx though - so Displaying Text in editor is solved
A side question: Do you know what Term I can use in actor event so when I create the same Text Actor from Different Units, I can just use a Term to Set text based On Condition which unit it is, so that I dont have to paste a separate text Actor created for every unit ?
I'm trying to make an actor event in the text actor:
- Actor Creation
- Term I need (If Source Actor is ... )
Set Text to NameA (that changes the text of the Text actor)
- Actor Creation
- Term I need (If Source Actor is ... Unit B actor)
Set Text to NameB
Edit 2 - The term 'Ref Exists' and select the actor of the unit seems to distinguish which Unit Actor this Text was created from when the unit actors create the text actor ofc. DONE
Alternatively you could use Ref Equals.
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
https://www.sc2mapster.com/forums/resources/tutorials/179654-data-actor-events-message-texture-select-by-id
https://media.forgecdn.net/attachments/187/40/Screenshot2011-04-17_09_16_21.jpg