Hello,
I've given a unit to Hostile where the unit will be ordered to attack a specific point. I was unsure though how to make it so it would pick a random ability from Tactical AI and use it. The unit I'm working with is an Infestor attempting to get it to use it's Natural Parasite on a random unit upon attacking without a weapon. How is this possible?
I would have a behavior on the infestor with a periodic effect of searching for nearby enemies. The search area would have a validator to check if the caster has a weapon ["Target Has Weapon"]. If the search finds an enemy and is validated, run a set to remove the behavior and order the caster to use neural parasite.
Hello,
I've given a unit to Hostile where the unit will be ordered to attack a specific point. I was unsure though how to make it so it would pick a random ability from Tactical AI and use it. The unit I'm working with is an Infestor attempting to get it to use it's Natural Parasite on a random unit upon attacking without a weapon. How is this possible?
Autocast?
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
https://www.sc2mapster.com/forums/resources/tutorials/179654-data-actor-events-message-texture-select-by-id
https://media.forgecdn.net/attachments/187/40/Screenshot2011-04-17_09_16_21.jpg
Autocast didn't work and I ensured it was on.
I would have a behavior on the infestor with a periodic effect of searching for nearby enemies. The search area would have a validator to check if the caster has a weapon ["Target Has Weapon"]. If the search finds an enemy and is validated, run a set to remove the behavior and order the caster to use neural parasite.
You need to set the filters for the autocast too.
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
https://www.sc2mapster.com/forums/resources/tutorials/179654-data-actor-events-message-texture-select-by-id
https://media.forgecdn.net/attachments/187/40/Screenshot2011-04-17_09_16_21.jpg