Hello, I am wondering how to apply a timed life on units. It needs to be specific to the unit I create because their duration might change. I tried doing this http://www.galaxywiki.net/Timed_Life but I don't understand it.
Give the unit a Buff behaviour with the timed life being set under the Stats: Duration field and a Damage type effect under the Effect: Effect - Final field. Make sure the Damage effect has the Kill flag enabled although the default called Timed Life Fate should suffice.
Rollback Post to RevisionRollBack
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
Give the unit a Buff behaviour with the timed life being set under the Stats: Duration field and a Damage type effect under the Effect: Effect - Final field. Make sure the Damage effect has the Kill flag enabled although the default called Timed Life Fate should suffice.
I'm not very familiar with the data editor, and you basically said the same thing the link did. I don't know how to add a buff to a unit, but I can add a behaviour. I have also tried looking how it works on infested terrans/turrets and I cannot find it.
Ok go to the Data Editor and open the Behaviors tab (green + button near the top of the screen). There should be a window on the left listing behaviours. Right click it and select the AddBehaviour option. A window should appear. Make sure the Behavior Type field in that window is set to Buff (the default is Attribute). Once you have created your buff modify the fields mentioned in my last post. Just put Timed Life Fate under the Effect: Effect - Final field and then set the Stats: Duration field to how long you want your timed unit to last.
Next go the Units data type tab and select the unit you want to have a timed life. Go to the Behavior: Behaviors - Behavior field and add the buff behaviour you made.
Rollback Post to RevisionRollBack
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
Hello, I am wondering how to apply a timed life on units. It needs to be specific to the unit I create because their duration might change.
I tried doing this http://www.galaxywiki.net/Timed_Life but I don't understand it.
Thanks!
Give the unit a Buff behaviour with the timed life being set under the Stats: Duration field and a Damage type effect under the Effect: Effect - Final field. Make sure the Damage effect has the Kill flag enabled although the default called Timed Life Fate should suffice.
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
Edit: I kind of need hand holding here :)
Ok go to the Data Editor and open the Behaviors tab (green + button near the top of the screen). There should be a window on the left listing behaviours. Right click it and select the Add Behaviour option. A window should appear. Make sure the Behavior Type field in that window is set to Buff (the default is Attribute). Once you have created your buff modify the fields mentioned in my last post. Just put Timed Life Fate under the Effect: Effect - Final field and then set the Stats: Duration field to how long you want your timed unit to last.
Next go the Units data type tab and select the unit you want to have a timed life. Go to the Behavior: Behaviors - Behavior field and add the buff behaviour you made.
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
Awesome, just what I needed. Thanks for your help!
Now I just need trigger help with this buff.
Why you need triggers for the buff?
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