I have made a text actor just like the ones in the campain where the rafiner pop up the text when mined. I have several buildings i wanna have sell ability on and popo up the value of that buildings text when i sell it. Is i possible to change the text to the current units value or do i have to make one for each building?
I think you want to put this in the text area, d ref is the reference for the data but you'll need to find out where it comes from (Not found it myself yet).
The problem is that it specify a unit/effect and so on that never changes.
Is it possible to edit data with a trigger? If so then i can when ability is casted change the data on for example an effect to the value of the building and then when the ability is finishing the text pops up with the effect value.
Hmm ok, ok that was strange, i have no clue how to handle that trigger :D and advice how to get for example the damage field from a dammage effect? If i can get that to unit value then i can link with the text actor and i will always get the value of that unit to show up.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
I have made a text actor just like the ones in the campain where the rafiner pop up the text when mined. I have several buildings i wanna have sell ability on and popo up the value of that buildings text when i sell it. Is i possible to change the text to the current units value or do i have to make one for each building?
I think you want to put this in the text area, d ref is the reference for the data but you'll need to find out where it comes from (Not found it myself yet).
@Rileyb80: Go
Yhe thing is that i cant find it either, anybody know?
look into some of the button tooltips which use unit values
campaign auto turret:
The problem is that it specify a unit/effect and so on that never changes.
Is it possible to edit data with a trigger? If so then i can when ability is casted change the data on for example an effect to the value of the building and then when the ability is finishing the text pops up with the effect value.
Catalog triggers change data
@b0ne123: Go
Hmm ok, ok that was strange, i have no clue how to handle that trigger :D and advice how to get for example the damage field from a dammage effect? If i can get that to unit value then i can link with the text actor and i will always get the value of that unit to show up.