Be able to use a certain item while under stun behavior effect. So just one perticular item can be used while stun.
My set up :
In the stun behavior the following state flags are check : Uncommandable and Stun. That basically ... the stun.
Method I tryed :
Remove the Uncommandable and set Ability: Modification - Abilities Enable : "Name of the ability of the item". Which don't seem to work with item on the inventory.
Yah my Hero Standard - Inventory is in the enabled Modification - Abilities Enable. And I set
Modification set Uncommandable removed.
Ability Class Enabled - Inventory and Effect - Instant are enable.
a workaround would be to have invisible dialog buttons over the inventory whenever a unit is stunned and selected. on using the button an event fires which executes the use of the item by either removing the stun, issue order the unit to use the item, reapply stun or do whatever effect is linked to the item inside the trigger.
- i think this should work, never tested that -
hmmmm .... i guess the hotkeys shall work too. so the far above mentioned is the only way then. just disable moving and turning and either disable all abilities or add validators to the first effect of the abilities to check for stun behaviours.
but i found something odd in my testing with a single ability
it's a custom carrier
when this ability is disabled the interceptors are destroyed but if the unit is stunned there's find leading me to believe that the ability is still active or paused like with a .0001 timescale
Ability type is Arm Magazine and it's just one the unit not a ability that can be turned off or on
so this leads me to another question what exactly happen with a unit has "stun" flag that can be reproduced with the exclusion of a single ability
or is there a way to have a unit under stun and still use a ability?
What I try to do :
Be able to use a certain item while under stun behavior effect. So just one perticular item can be used while stun.
My set up :
In the stun behavior the following state flags are check : Uncommandable and Stun. That basically ... the stun.
Method I tryed :
Remove the Uncommandable and set Ability: Modification - Abilities Enable : "Name of the ability of the item". Which don't seem to work with item on the inventory.
Make sure "inventory" ability type is set to "enabled".
Yah my Hero Standard - Inventory is in the enabled Modification - Abilities Enable. And I set Modification set Uncommandable removed. Ability Class Enabled - Inventory and Effect - Instant are enable.
Doesn't work more ;s stun overlap all I supose.
You need a buff that sets speed multiplier to the min value (same for turn) and then disable all you do not want.
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
Considering hero attack has about 600 abilities xD. I think I will scrap that idea. Oh well thank for the help.
Use aliases.
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
seeing as im working on the same exact thing can we bump this please
no really we used a workaround but it's causing bugs
only thing i can think of is going 1 by 1 and disabling certain all ability's excluding my stun remover
so ill ask the question another way is there a way to stun a unit but exclude a ability from the stun?
and no using ability classes won't work in this case
@godakuma: Go
a workaround would be to have invisible dialog buttons over the inventory whenever a unit is stunned and selected. on using the button an event fires which executes the use of the item by either removing the stun, issue order the unit to use the item, reapply stun or do whatever effect is linked to the item inside the trigger.
- i think this should work, never tested that -
wish that would work but our inventory items are movable with no set slot for any item and there all hotkeyed so clicking wouldn't work
@godakuma: Go
hmmmm .... i guess the hotkeys shall work too. so the far above mentioned is the only way then. just disable moving and turning and either disable all abilities or add validators to the first effect of the abilities to check for stun behaviours.
hmm i was afraid of that
but i found something odd in my testing with a single ability
it's a custom carrier when this ability is disabled the interceptors are destroyed but if the unit is stunned there's find leading me to believe that the ability is still active or paused like with a .0001 timescale
Ability type is Arm Magazine and it's just one the unit not a ability that can be turned off or on
so this leads me to another question what exactly happen with a unit has "stun" flag that can be reproduced with the exclusion of a single ability
or is there a way to have a unit under stun and still use a ability?