External magazines automatically return to their set formation points around the parent unit after they move off of it, but a turnable external magazine unit that uses the ground mover can collide with other units and thus move off of their formation. Is there an effect or behavior that forces the magazine unit to move back into formation around a stationary parent and then face the default direction when called? Or, an effect that determines the unit's formation point?
Right now I have a Create Persistent effect that makes a target offset then an Issue Order effect that moves the magazine unit to the offset in the opposite direction that forces the unit to reset and walk to the formation. This works fine to a degree but it isn't efficient.
Alternatively, a way to change the distance a unit is allowed to move from their original point before automatically returning - without an order, like if it was pushed away by another unit, would work as well. I looked in Gameplay Data but found nothing.
I don't even know if this is possible in triggers, but either way it's probably best sticking with Data. Any guidance is always appreciated.
Well thanks, but that's not enough to go on. Is there something in a buff behavior that can determine this, or would I have to create a validator? After it's validated, what then? What is in the behaviors or elsewhere that orders the unit to return to the correct stop?
It's simple enough now after a little tinkering to make a buff behavior active when idle, but I still can't figure out how a behavior or effect attached to the behavior is supposed to send a unit back to the correct stop, or even find the correct stop. So what is in behaviors or elsewhere that orders the unit to return to the correct stop?
Have the unit send a create persistent to the caster that then uses a search at the right offset before applying a buff like an aura. If the unit is idle and lacks the buff it then is ordered to move to the offset.
I understand enough from reading past threads on external magazines to know that the first part of your direction is very difficult to do - linking a magazine holder with its ammo units, unless a recent patch changed this. What if there is more than one parent of the same unit type?
Thats why u should use triggers man.... Instead of spending a weak in data :D. I've been messing with this ability long time ago and there are much more convinient approaches without use of this ability for following units.
External magazines automatically return to their set formation points around the parent unit after they move off of it, but a turnable external magazine unit that uses the ground mover can collide with other units and thus move off of their formation. Is there an effect or behavior that forces the magazine unit to move back into formation around a stationary parent and then face the default direction when called? Or, an effect that determines the unit's formation point?
Right now I have a Create Persistent effect that makes a target offset then an Issue Order effect that moves the magazine unit to the offset in the opposite direction that forces the unit to reset and walk to the formation. This works fine to a degree but it isn't efficient.
Alternatively, a way to change the distance a unit is allowed to move from their original point before automatically returning - without an order, like if it was pushed away by another unit, would work as well. I looked in Gameplay Data but found nothing.
I don't even know if this is possible in triggers, but either way it's probably best sticking with Data. Any guidance is always appreciated.
Nope, having a buff that determines if it is idle and not in the correct spot is the way to go.
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
Well thanks, but that's not enough to go on. Is there something in a buff behavior that can determine this, or would I have to create a validator? After it's validated, what then? What is in the behaviors or elsewhere that orders the unit to return to the correct stop?
Bump.
It's simple enough now after a little tinkering to make a buff behavior active when idle, but I still can't figure out how a behavior or effect attached to the behavior is supposed to send a unit back to the correct stop, or even find the correct stop. So what is in behaviors or elsewhere that orders the unit to return to the correct stop?
Have the unit send a create persistent to the caster that then uses a search at the right offset before applying a buff like an aura. If the unit is idle and lacks the buff it then is ordered to move to the offset.
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
Ingenious.
I understand enough from reading past threads on external magazines to know that the first part of your direction is very difficult to do - linking a magazine holder with its ammo units, unless a recent patch changed this. What if there is more than one parent of the same unit type?
Thats why u should use triggers man.... Instead of spending a weak in data :D. I've been messing with this ability long time ago and there are much more convinient approaches without use of this ability for following units.