I have created a morph ability (and actor events) for supply depots to allow them to morph into factories. It works great except that the morphed factory isn't selectable! What's strange is that upon morphing the new factory is initially selected and can spawn units, but once you click off of it you can't select it again. The "cannot click/highlight" flags for the factory unit are unchecked (although those flags don't seem to do anything anyways). I have double checked my actor events and everything seems to be set up correctly. I'm not sure if its a problem with the ability, the actor, or the unit. Any theories? Thanks.
Three possible causes. One the Morph ability is not finishing all the changes. Two your unit has a buff preventing selection. Three the model used for your factory lacks the points required for selection (can be fixed by adding the collision sphere model as an attachment).
Rollback Post to RevisionRollBack
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
Thanks for the reply. Other factories that start on the map are selectable, so I guess that leaves the first option. What additional changes would I need to make to the morph ability?
For the morph ability I've got the execute command set to the ability. I have no cancel command because the morph is instant. For the Ability: Info^ field I have the factory unit selected.
my actor event for the supply depot is:
AbilMorph.*.Finish
MorphFrom SupplyDepot
MorphTo Factory
Destroy
the event for the factory is:
AbilMorph.*.Finish
MorphFrom Supply Depot
MorphTo Factory
Create
I think it's a problem with the unit. I just noticed that when the morphed factory is initially selected, there is no green unit picture or a portrait in the UI panel. Its like not fully creating the unit somehow.
I have created a morph ability (and actor events) for supply depots to allow them to morph into factories. It works great except that the morphed factory isn't selectable! What's strange is that upon morphing the new factory is initially selected and can spawn units, but once you click off of it you can't select it again. The "cannot click/highlight" flags for the factory unit are unchecked (although those flags don't seem to do anything anyways). I have double checked my actor events and everything seems to be set up correctly. I'm not sure if its a problem with the ability, the actor, or the unit. Any theories? Thanks.
Three possible causes. One the Morph ability is not finishing all the changes. Two your unit has a buff preventing selection. Three the model used for your factory lacks the points required for selection (can be fixed by adding the collision sphere model as an attachment).
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
@DrSuperEvil: Go
Thanks for the reply. Other factories that start on the map are selectable, so I guess that leaves the first option. What additional changes would I need to make to the morph ability?
bump
Post how you did your morph. Maybe you didnt punch a number in right. Really could be something small. But i feel like dr. SuperEvil is right.
For the morph ability I've got the execute command set to the ability. I have no cancel command because the morph is instant. For the Ability: Info^ field I have the factory unit selected.
my actor event for the supply depot is:
AbilMorph.*.Finish
MorphFrom SupplyDepot
MorphTo Factory
Destroy
the event for the factory is:
AbilMorph.*.Finish
MorphFrom Supply Depot
MorphTo Factory
Create
I think it's a problem with the unit. I just noticed that when the morphed factory is initially selected, there is no green unit picture or a portrait in the UI panel. Its like not fully creating the unit somehow.