I made an ability and I want it to auto cast how do you do that?
I did this a long time ago, but forgot how to do it.
Thanks in Advance
EDit: The auto cast ability will be something that would give u income. Basically it would have a 10 second cooldown and every cool down it would give 10 minerals (cost is -10), but i cant seem to get the auto cast to work.
All an ability needs to be able to autocast is the Autocast flag and either an Autocast Range > 0 or an Autocast Validator != none. Depending on the kind of ability, you might need further adjustments to make it autocast in the appropriate situations.
Also make sure you can manually cast it. I had this situation a couple of times where I was like "Why doesn't he cast it?" and then found out the ability wasn't even castable manually and the autocast part worked just fine :D
I made an ability and I want it to auto cast how do you do that?
I did this a long time ago, but forgot how to do it.
Thanks in Advance
EDit: The auto cast ability will be something that would give u income. Basically it would have a 10 second cooldown and every cool down it would give 10 minerals (cost is -10), but i cant seem to get the auto cast to work.
Try copying the fields of an ability that has autocast
All an ability needs to be able to autocast is the Autocast flag and either an Autocast Range > 0 or an Autocast Validator != none. Depending on the kind of ability, you might need further adjustments to make it autocast in the appropriate situations.
Also make sure you can manually cast it. I had this situation a couple of times where I was like "Why doesn't he cast it?" and then found out the ability wasn't even castable manually and the autocast part worked just fine :D