I thought I had this figured out, but I'm once again stuck!
I have a unit that refuels other units. It has a periodic Search Area effect to find targets in a small radius. When it finds a target, it moves towards it and starts to refuel it using a targeted ability with a Create Persistant effect. The Search Area effect is validated by a Has No Orders validator, so the unit will only search again when it's finished refueling its target, or when the target moves away (I'd like to get the target to stop moving and attacking while it's recieving fuel, but that is a problem for another day)
What I'd like to happen is for the unit to move back when it's done refueling, or when the target cancels the ability by moving. I thought I could do this by having an Issue Order in the Effect that targetted the Source unit's location in the Effect - Final field of the Create Persistant effect, but it doesn't appear to be working. What am I doing wrong?
Sure a Battery ability would not be the simple solution?
Seems like your persistent is finishing on the unit and not at the point. You need to create another persistent when you start the cast that remembers the unit start point.
Rollback Post to RevisionRollBack
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
Hmmm... so I guess the way I'd do that would be to put a new Create Persistant effect in the Effect - Initial field of Issue Order effect? That seems like it would work, I'll give it a shot. Thanks for the suggestion!
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
I thought I had this figured out, but I'm once again stuck!
I have a unit that refuels other units. It has a periodic Search Area effect to find targets in a small radius. When it finds a target, it moves towards it and starts to refuel it using a targeted ability with a Create Persistant effect. The Search Area effect is validated by a Has No Orders validator, so the unit will only search again when it's finished refueling its target, or when the target moves away (I'd like to get the target to stop moving and attacking while it's recieving fuel, but that is a problem for another day)
What I'd like to happen is for the unit to move back when it's done refueling, or when the target cancels the ability by moving. I thought I could do this by having an Issue Order in the Effect that targetted the Source unit's location in the Effect - Final field of the Create Persistant effect, but it doesn't appear to be working. What am I doing wrong?
Sure a Battery ability would not be the simple solution?
Seems like your persistent is finishing on the unit and not at the point. You need to create another persistent when you start the cast that remembers the unit start point.
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
Hmmm... so I guess the way I'd do that would be to put a new Create Persistant effect in the Effect - Initial field of Issue Order effect? That seems like it would work, I'll give it a shot. Thanks for the suggestion!