I'm currently working on a map where I have a Leviathan (Zerg Hero) spawn for the enemy at one point. However, the Leviathan will only use its basic attacks, and obviously I'd like it to do more than that. I've tried using the data editor to resolve the issue, by setting Auto Cast and Auto Cast On on all the abilities I want it to use. But it still only uses basic attacks. Is there anything I can do to the unit itself to make it just spontaneously use its abilities once in a while?
EDIT: I also wouldn't mind if it could attack and use its abilities at the same time. In other words, that its abilities did not interrupt its normal attacks and vice versa.
As the leviathan tentacles are a passive buff they will be unaffected. Just give the unit a buff that uses a slow periodic Issue Order effect to use the abilities. Also make the abilities transient to not interrupt attacks.
Rollback Post to RevisionRollBack
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
As the leviathan tentacles are a passive buff they will be unaffected. Just give the unit a buff that uses a slow periodic Issue Order effect to use the abilities. Also make the abilities transient to not interrupt attacks.
Figured it out now. Thanks.
One issue remains though. I've created 3 seperate behaviours linked to 3 seperate effects, telling the Leviathan to use Spawn Mutalisk, Spawn Brood Lord and Bio-Plasmid Discharge periodically. Both of the spawn behaviours work fine, but the Bio-Plasmid Discharge does not. Any idea why this is, or how I can make it work?
Buff on unit as a passive that uses an effect periodically (read the wiki page on buffs) has a Set effect which uses a random Issue Order effect that targets the caster ordering it to use one of the abilities. Under most flags for specific abilities under the Abilities data type is a flag called transient.
Rollback Post to RevisionRollBack
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
If anyone has any information on how to make the Leviathan's Bio-Plasmid Discharge work (problem described above), I'd love to hear it.
I'm guessing that maybe this is a problem that exists for all abilities that require targets, when you want an enemy hero or unit to be able to fire them off randomly or periodically.
Alternatively, if you want to use AI (which is activated via triggers) you can see the wiki here on Tactical AI Data and Target Finds, which I filled out.
Hi
I'm currently working on a map where I have a Leviathan (Zerg Hero) spawn for the enemy at one point. However, the Leviathan will only use its basic attacks, and obviously I'd like it to do more than that. I've tried using the data editor to resolve the issue, by setting Auto Cast and Auto Cast On on all the abilities I want it to use. But it still only uses basic attacks. Is there anything I can do to the unit itself to make it just spontaneously use its abilities once in a while?
EDIT: I also wouldn't mind if it could attack and use its abilities at the same time. In other words, that its abilities did not interrupt its normal attacks and vice versa.
As the leviathan tentacles are a passive buff they will be unaffected. Just give the unit a buff that uses a slow periodic Issue Order effect to use the abilities. Also make the abilities transient to not interrupt attacks.
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
Figured it out now. Thanks.
One issue remains though. I've created 3 seperate behaviours linked to 3 seperate effects, telling the Leviathan to use Spawn Mutalisk, Spawn Brood Lord and Bio-Plasmid Discharge periodically. Both of the spawn behaviours work fine, but the Bio-Plasmid Discharge does not. Any idea why this is, or how I can make it work?
Thanks in advance
Buff on unit as a passive that uses an effect periodically (read the wiki page on buffs) has a Set effect which uses a random Issue Order effect that targets the caster ordering it to use one of the abilities. Under most flags for specific abilities under the Abilities data type is a flag called transient.
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
Sorry, I must have edited my last post while you were typing that reply.
As my last post says (now) though, I got it working, except for the Leviathan's Bio-Plasmid Discharge ability.
BUMP
If anyone has any information on how to make the Leviathan's Bio-Plasmid Discharge work (problem described above), I'd love to hear it. I'm guessing that maybe this is a problem that exists for all abilities that require targets, when you want an enemy hero or unit to be able to fire them off randomly or periodically.
Insert a Search Area effect between the issue order and the buff.
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
Alternatively, if you want to use AI (which is activated via triggers) you can see the wiki here on Tactical AI Data and Target Finds, which I filled out.
Do you know how complex AI validators can get?
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