What do i have to do make the unit auto cast yamato cannon?
I set the flags "Auto Cast" and "Auto Cast On", what me do i have to do to make it useful or even to work? (yes i took away requirements and gave the units enough energy)
You need to specify an auto cast range, then it should work already. Also, for a more intelligent use, you could add some auto cast validators (like don't cast on units with very low hitpoints etc).
Ok so the range is kinda like a search area effect and if target is found then its issue order to cast the spell?
Ok the spell now works alsmost, the only problem is that it only works if the unit is not moving, it does not cast the spell as long as i still move. Is there a way to force the unit to stop when it can cast it?
You could try the transient flag, however it is designed for no target abilities, so it might not work as desired. Also it will remove the cast time, so you might need to simulate it with a persistent effect or a dummy ability issuing the "real" yamato order or something.
I'm not sure what you mean when you say that it is like a Search Area effect--it's something different. However, you can use a Search Area to make a transient autocast. Give the unit a behavior that periodically launches a Search Area. When a target is found, it launches an Issue Order that tells it to Yamato the target.Yamato must be set to Transient flag and the Angle must be set to 360, because transient abilities do not allow the unit to change its facing to carry out the order.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
What do i have to do make the unit auto cast yamato cannon?
I set the flags "Auto Cast" and "Auto Cast On", what me do i have to do to make it useful or even to work? (yes i took away requirements and gave the units enough energy)
You need to specify an auto cast range, then it should work already. Also, for a more intelligent use, you could add some auto cast validators (like don't cast on units with very low hitpoints etc).
@Kueken531: Go
Ok so the range is kinda like a search area effect and if target is found then its issue order to cast the spell?
Ok the spell now works alsmost, the only problem is that it only works if the unit is not moving, it does not cast the spell as long as i still move. Is there a way to force the unit to stop when it can cast it?
You could try the transient flag, however it is designed for no target abilities, so it might not work as desired. Also it will remove the cast time, so you might need to simulate it with a persistent effect or a dummy ability issuing the "real" yamato order or something.
I'm not sure what you mean when you say that it is like a Search Area effect--it's something different. However, you can use a Search Area to make a transient autocast. Give the unit a behavior that periodically launches a Search Area. When a target is found, it launches an Issue Order that tells it to Yamato the target.Yamato must be set to Transient flag and the Angle must be set to 360, because transient abilities do not allow the unit to change its facing to carry out the order.