i want to make an ability that carries other units, like workers carry minerals
im using the carry carcass as a template, and i got it to work as far as the unit actually being carried away by the caster
however, instead of the carried unit being stunned and attached to the front of the caster, its constantly spinning around the caster. my guess is it is trying to reach the center point of the caster?
i tried setting an offset in the create persistent effect that creates the apply force effect that does the moving, but to no avail
any ideas? its probably rather straightforward to do if you know how to work with apply force effects, i guess?
this is the ability - it creates a persistant effect
the persistant effect that periodically calls the force effect - note the offset that i put in for testing purposes, but i cannot get it to actually use an offset
Well minerals being carried by workers aren't units they are actor attachments. It sounds like you want something more like a medivac carrying a tank or thor? I'd check out the medivac's actor events as a guide. Your spinning problem may come from incorrect attachment points.
Look at my symbiote demo map for a potential method. I also made a harvest simulation demo map. Just mix and merge. Using Issue Order effects you can right click stuff to order it to pick up an item unit. With charged items if it is consumed by a unit or structure to give an effect is no difference.
Rollback Post to RevisionRollBack
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
i want to make an ability that carries other units, like workers carry minerals
im using the carry carcass as a template, and i got it to work as far as the unit actually being carried away by the caster
however, instead of the carried unit being stunned and attached to the front of the caster, its constantly spinning around the caster. my guess is it is trying to reach the center point of the caster?
i tried setting an offset in the create persistent effect that creates the apply force effect that does the moving, but to no avail
any ideas? its probably rather straightforward to do if you know how to work with apply force effects, i guess?
this is the ability - it creates a persistant effect
the persistant effect that periodically calls the force effect - note the offset that i put in for testing purposes, but i cannot get it to actually use an offset
this is the force effect
@summerloud: Go
Well minerals being carried by workers aren't units they are actor attachments. It sounds like you want something more like a medivac carrying a tank or thor? I'd check out the medivac's actor events as a guide. Your spinning problem may come from incorrect attachment points.
<Click Here> To See My Epic Single Player Campaign (LifeForceCampaign.com)
Look at my symbiote demo map for a potential method. I also made a harvest simulation demo map. Just mix and merge. Using Issue Order effects you can right click stuff to order it to pick up an item unit. With charged items if it is consumed by a unit or structure to give an effect is no difference.
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