I has custom unit with custom abilities, but he never cast them. Is there any AI trigger action which will cause my unit to cast abilities? Or another way?
Rollback Post to RevisionRollBack
OMG! New hero in 'Heroes of the Storm' is Dustin Browder. Watch here!
Try to add an autocast validator for each ability. Validator of "number of behavior x = 0".
Each ability will have its own validator and own behavior. And each ability will apply its behavior on the the caster. Behavior duration time will be equal to ability's recharge time.
For example: you have 3 abilities (A1, A2, A3) and 3 behaviors (B1, B2, B3).
A1 applies B1 to caster. A2 applies B2 to caster. A3 applies B3 to caster.
A1 autocast validator is "number of B1 = 0"
A2 autocast validator is "number of B2 = 0"
A3 autocast validator is "number of B3 = 0"
The idea is simple: unit can only have 1 autocasted ability, but after the cast happens, its autocast become temporarily disabled, and unit kinda switches to another ability to autocast. I'm not sure it will work, but worth a try.
Facepalm to all. As I said no need autocast, no need couple of trash behaviors and no need triggers... cus ai uses blizzard abilities when I add "Start ai for player" trigger action, but my custom abilities ai not wana to use.
Rollback Post to RevisionRollBack
OMG! New hero in 'Heroes of the Storm' is Dustin Browder. Watch here!
It active ability like psi storm, blink, etc. I've created Tactical Ai Data, Target Finds and Tactical Ai Cooldown in the Data editor for my hero. Added trigger which starts campaign ai for the owner of my hero. But it not works(
Rollback Post to RevisionRollBack
OMG! New hero in 'Heroes of the Storm' is Dustin Browder. Watch here!
Im facing the same problem atm, id like my AI units to use their abilities but id prefer to do this without using triggers, as i have lots of them already :P
I has custom unit with custom abilities, but he never cast them. Is there any AI trigger action which will cause my unit to cast abilities? Or another way?
OMG! New hero in 'Heroes of the Storm' is Dustin Browder. Watch here!
You need to set autocast range for the ability and check the "autocast is on" flag.
Already tried it. But it looks not good when hero has all abilities as auto-cast... thats why I need normal ability.
OMG! New hero in 'Heroes of the Storm' is Dustin Browder. Watch here!
Try to add an autocast validator for each ability. Validator of "number of behavior x = 0".
Each ability will have its own validator and own behavior. And each ability will apply its behavior on the the caster. Behavior duration time will be equal to ability's recharge time.
For example: you have 3 abilities (A1, A2, A3) and 3 behaviors (B1, B2, B3).
A1 applies B1 to caster. A2 applies B2 to caster. A3 applies B3 to caster.
A1 autocast validator is "number of B1 = 0"
A2 autocast validator is "number of B2 = 0"
A3 autocast validator is "number of B3 = 0"
The idea is simple: unit can only have 1 autocasted ability, but after the cast happens, its autocast become temporarily disabled, and unit kinda switches to another ability to autocast. I'm not sure it will work, but worth a try.
Facepalm to all. As I said no need autocast, no need couple of trash behaviors and no need triggers... cus ai uses blizzard abilities when I add "Start ai for player" trigger action, but my custom abilities ai not wana to use.
OMG! New hero in 'Heroes of the Storm' is Dustin Browder. Watch here!
what kind of ability it is an train ability an cast ability an smart cast ability an target require ability an area ability ?
and is the unit you use turnable ? if it is not turnable you must made the arc on the ability 360
It active ability like psi storm, blink, etc. I've created Tactical Ai Data, Target Finds and Tactical Ai Cooldown in the Data editor for my hero. Added trigger which starts campaign ai for the owner of my hero. But it not works(
OMG! New hero in 'Heroes of the Storm' is Dustin Browder. Watch here!
Im facing the same problem atm, id like my AI units to use their abilities but id prefer to do this without using triggers, as i have lots of them already :P