Is it possible to change a unit's push priority with a behavior? or in any other way make it move aside for certain units and not others using a behavior?
id say the first place to get started on testing that one would be with the set catalog field function for the units. Thatd be my first step to testing / trying to achieve that.
I say you would need a selective Apply Force aura to nudge nearby units away. Catalog triggers cannot affect the push priority. Buffs cannot do it directly either.
Rollback Post to RevisionRollBack
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
You can emulate this pretty well by clever use of immobilization. Credit for this hack goes to Hero Attack. Give a unit which normally has higher push priority a buff which will periodically immobilize any units around him that you don't want to push. Then he won't be able to push them. Normally this works best if you choose only attacking enemy units since they aren't going to be moving anyway. Whatever buff you apply to a unit to immobilize should remove itself when the unit is not attacking (and of course have a very short duration). Also it may require a trigger to be able to order immobilized units to move properly. Basically the first time you order an immobilized unit to move it will stop attacking and this will remove the immobilization buff, but the unit will forget the order. So you need a trigger to capture move orders given to immobilized units which manually removes the immobilization and possibly reissues the order.
There may also be a more straightforward way to do it via upgrades if you are fine with it only being changeable for an entire unit type at once.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
Is it possible to change a unit's push priority with a behavior? or in any other way make it move aside for certain units and not others using a behavior?
@secondsmth: Go
id say the first place to get started on testing that one would be with the set catalog field function for the units. Thatd be my first step to testing / trying to achieve that.
I say you would need a selective Apply Force aura to nudge nearby units away. Catalog triggers cannot affect the push priority. Buffs cannot do it directly either.
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
You can emulate this pretty well by clever use of immobilization. Credit for this hack goes to Hero Attack. Give a unit which normally has higher push priority a buff which will periodically immobilize any units around him that you don't want to push. Then he won't be able to push them. Normally this works best if you choose only attacking enemy units since they aren't going to be moving anyway. Whatever buff you apply to a unit to immobilize should remove itself when the unit is not attacking (and of course have a very short duration). Also it may require a trigger to be able to order immobilized units to move properly. Basically the first time you order an immobilized unit to move it will stop attacking and this will remove the immobilization buff, but the unit will forget the order. So you need a trigger to capture move orders given to immobilized units which manually removes the immobilization and possibly reissues the order.
There may also be a more straightforward way to do it via upgrades if you are fine with it only being changeable for an entire unit type at once.