Hi, I've got a question. Like the tittle says; I have a medivac wich can land and take off like the hercules (colonist ship). But I want it to only bee able to load/unload stuff while landed. I can't remove the ability from the flying unit 'cause it looses it's cargo, and if I just delete the button from the command card it still can load units if I right click on them.
Is there a way to do this?
Edit:
Hmm, there's another thing, the AI won't be able to load unload units unless i make some more changes to fix this, so I though about a different solution:
How do I make the Medivac lower it's height closer to the ground when loading/unloading units?
It already has an animation but I want him to go closer to ground.
Add a buff that disables the ability. In the case of item inventories the items are still held when the ability is disabled. Like the phoenix anti gravity ability you can adjust height with buff behaviours.
Rollback Post to RevisionRollBack
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
I'd do a buff wich lowers the unit while loading/unloading, (I don't know how to write AI and teach him in a melee map to land the unit to load it) but my question is, taking the madivac transport ability as a base, one how would I place the buff (i figure the unit has it already but somewhat activates with a validator? Is there a validator for loading/unloading units? I don't see one) and two, how would I extend the loading/unloading time for each unit since it would look weird to see that unit "jumping" from one height to another.
Rollback Post to RevisionRollBack
I like the lore. Check my latest projects at:
My Profile and My Team
Hi, I've got a question. Like the tittle says; I have a medivac wich can land and take off like the hercules (colonist ship). But I want it to only bee able to load/unload stuff while landed. I can't remove the ability from the flying unit 'cause it looses it's cargo, and if I just delete the button from the command card it still can load units if I right click on them.
Is there a way to do this?
Edit:
Hmm, there's another thing, the AI won't be able to load unload units unless i make some more changes to fix this, so I though about a different solution:
How do I make the Medivac lower it's height closer to the ground when loading/unloading units? It already has an animation but I want him to go closer to ground.
Suggestions?
Add a buff that disables the ability. In the case of item inventories the items are still held when the ability is disabled. Like the phoenix anti gravity ability you can adjust height with buff behaviours.
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
I'd do a buff wich lowers the unit while loading/unloading, (I don't know how to write AI and teach him in a melee map to land the unit to load it) but my question is, taking the madivac transport ability as a base, one how would I place the buff (i figure the unit has it already but somewhat activates with a validator? Is there a validator for loading/unloading units? I don't see one) and two, how would I extend the loading/unloading time for each unit since it would look weird to see that unit "jumping" from one height to another.
Make its own land/takeoff abilities which apply and remove behaviors, you can then use validators to determine if the medivac is landed or not.
Behavior Requirements can then be used to hide/show the load/unload and the land/takeoff buttons with requirements.
Not sure if it's the best method, but this'll work.