I created a system that when the unit dies, another appears in place. But i want put a cooldown on this.
What i made:
Create a Behaviour (Buff). Then go to Behaviour - Modification + > Combat > Death Response > Effect and add a Create Unit effect there.
Under Combat > Death Response you have to set Chance from 0 to 1.
Now when i kill the unit another appear at the same time. :\
@Diego6D: Go Instead of calling a Create Unit effect directly, call a Create Persistent effect that calls the Create Unit one when it expires, then give this effect the duration you need.
Create a Behaviour (Buff). Then go to Behaviour - Modification + > Combat > Death Response > Effect and add a Create Persistent Unit effect there.
Under Combat > Death Response you have to set Chance from 0 to 1.
After this i click in the "PersistentUnit Effect" and > "Effect - Expire" And here i put the effect: "CreateUnit" right? But, where i put the time (cooldown).
@Diego6D: Go In the persistent. I guess the field is called Initial Delay. Persistents can have several different durations, like periods, but I guess Initial Delay will be more than enough in this case, or add a single period and define periodic durations.
Put your create unit effect in the Effect: Effect - Initial field of the persistent effect. Also, by not working do you mean the unit is no longer spawning or no delay is occurring?
I created a system that when the unit dies, another appears in place. But i want put a cooldown on this.
What i made:
Now when i kill the unit another appear at the same time. :\
Thank you.
@Diego6D: Go Instead of calling a Create Unit effect directly, call a Create Persistent effect that calls the Create Unit one when it expires, then give this effect the duration you need.
I'll say what i did:
Create a Behaviour (Buff). Then go to Behaviour - Modification + > Combat > Death Response > Effect and add a Create Persistent Unit effect there.
Under Combat > Death Response you have to set Chance from 0 to 1. After this i click in the "PersistentUnit Effect" and > "Effect - Expire" And here i put the effect: "CreateUnit" right? But, where i put the time (cooldown).
@Diego6D: Go In the persistent. I guess the field is called Initial Delay. Persistents can have several different durations, like periods, but I guess Initial Delay will be more than enough in this case, or add a single period and define periodic durations.
@SoulFilcher: Go
Sorry, didn't worked. :( Do you know another way?
EDIT: I think it's my fault, can you make a walkthrough please?
@Diego6D: Go
Just put the create effect as the periodic effect in the persistent and remember to set the duration and period of the persistent
Here:
http://i.imgur.com/QwYJNEh.png
Please, someone tell me where is my mistake.
Put your create unit effect in the Effect: Effect - Initial field of the persistent effect. Also, by not working do you mean the unit is no longer spawning or no delay is occurring?
edited
@Spoolofwhool: Go
Both.
Look, i did like you say, but still not working.
I'm really need this, guys, is too much important for me.