So, I want a unit to get a buff for 5 seconds after it decloaks. I got this accomplished by using triggers, but I don't want to have to use triggers. How would I accomplish it with the data editor?
Go into the Data Editor and create a new Effect of type "Apply Behavior" and make it apply your debuff. Don't forget to set the duration of your debuff to 5 seconds if you haven't done that already.
Go to the Behaviors tab and select your cloaking behavior (e.g. "Ghost - Cloak" for the ghost's cloaking) and add your newly created effect to the field "Effect - Final".
Every time the unit decloaks now, it'll get this buff.
Go into the Data Editor and create a new Effect of type "Apply Behavior" and make it apply your debuff. Don't forget to set the duration of your debuff to 5 seconds if you haven't done that already.
Go to the Behaviors tab and select your cloaking behavior (e.g. "Ghost - Cloak" for the ghost's cloaking) and add your newly created effect to the field "Effect - Final".
Every time the unit decloaks now, it'll get this buff.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
So, I want a unit to get a buff for 5 seconds after it decloaks. I got this accomplished by using triggers, but I don't want to have to use triggers. How would I accomplish it with the data editor?
Resolved:
Go into the Data Editor and create a new Effect of type "Apply Behavior" and make it apply your debuff. Don't forget to set the duration of your debuff to 5 seconds if you haven't done that already.
Go to the Behaviors tab and select your cloaking behavior (e.g. "Ghost - Cloak" for the ghost's cloaking) and add your newly created effect to the field "Effect - Final".
Every time the unit decloaks now, it'll get this buff.