Create a dummy ability under Effect - Instant which does nothing, add the ability to your unit and add the command card button with the ability set to your dummy ability, the Ability Command field will be blank but this doesn't matter.
In the trigger use the event Any unit is issued order to <your dummy ability>
After a fair bit of testing a worked it out, the distance field does work, the issue was the angle I had it set at 0 which in the editor appears behind the unit but is the front, and since the unit has collision the escort ends up pushing the main unit around, setting to 180 fixed the issue.
I'm trying to add an escort to a ground unit but seem to be having some trouble finding the setting which sets the distance from the unit the escort will sit. I added the escort through the Arm magazine ability like the broodlords escort, with the external option checked.
I thought setting collision between the units might be the answer but so far I have noticed some very strange behavior with collision, for example if the escort has collision enabled with the main unit, the escort will push the main unit around forcing it to constantly move in a random direction, if its not enabled between them then the escort just sits inside the model.
The Distance option in the Arm Magazine ability seems like the obvious choice for this but setting it to any value seems to do nothing.
You could create a new ability for the unit that does the damage you want to deal, then issue the order to use the ability through triggers. Abilities don't need to be on the command card for the trigger editor to use so the user will never be able to access it.
0
@38dedo: Go
Create a dummy ability under Effect - Instant which does nothing, add the ability to your unit and add the command card button with the ability set to your dummy ability, the Ability Command field will be blank but this doesn't matter.
In the trigger use the event Any unit is issued order to <your dummy ability>
0
@Aenigma: Go
After a fair bit of testing a worked it out, the distance field does work, the issue was the angle I had it set at 0 which in the editor appears behind the unit but is the front, and since the unit has collision the escort ends up pushing the main unit around, setting to 180 fixed the issue.
0
I'm trying to add an escort to a ground unit but seem to be having some trouble finding the setting which sets the distance from the unit the escort will sit. I added the escort through the Arm magazine ability like the broodlords escort, with the external option checked.
I thought setting collision between the units might be the answer but so far I have noticed some very strange behavior with collision, for example if the escort has collision enabled with the main unit, the escort will push the main unit around forcing it to constantly move in a random direction, if its not enabled between them then the escort just sits inside the model.
The Distance option in the Arm Magazine ability seems like the obvious choice for this but setting it to any value seems to do nothing.
0
@Aztron: Go
You could create a new ability for the unit that does the damage you want to deal, then issue the order to use the ability through triggers. Abilities don't need to be on the command card for the trigger editor to use so the user will never be able to access it.