I'm trying to figure out how to attach units to each other. I've seen it done on games like Starcruisiers (I think it's called), where there is a main unit then some platform where other selectable units are attached to it. In my case I think I'll need to change attachments through triggers. Where can I find out how this is done?
Also, I'm trying to figure out how to make a behavior actor attached to a unit be visible only to the player source of the behavior, regardless of who owns the unit. The Filter+ does not work quite how I want it to, as it determines visibility based on the owner of the unit, rather than the behavior. If I can find out how to attach units to other units, and be able to manipulate that with triggers, then I won't need to alter the visibility of these models.
Another question: Is there a way to make units unselectable when a player is boxing a selection (click and drag mouse)? Buildings do this somehow I think, wondering what exactly does it.
Buildings just use a lower selection priority, specified in the model object. They can be drag-selected, but only, if there are no higher priority targets in the drag selection (aka units).
You can disable drag-select for individual players via trigger.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
I'm trying to figure out how to attach units to each other. I've seen it done on games like Starcruisiers (I think it's called), where there is a main unit then some platform where other selectable units are attached to it. In my case I think I'll need to change attachments through triggers. Where can I find out how this is done?
Also, I'm trying to figure out how to make a behavior actor attached to a unit be visible only to the player source of the behavior, regardless of who owns the unit. The Filter+ does not work quite how I want it to, as it determines visibility based on the owner of the unit, rather than the behavior. If I can find out how to attach units to other units, and be able to manipulate that with triggers, then I won't need to alter the visibility of these models.
Thanks for any help/insight.
It is called Voidcraft. The map maker has an account on this site so why not just send him a PM.
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 cooked up a solution to one of my problems.
Another question: Is there a way to make units unselectable when a player is boxing a selection (click and drag mouse)? Buildings do this somehow I think, wondering what exactly does it.
Buildings just use a lower selection priority, specified in the model object. They can be drag-selected, but only, if there are no higher priority targets in the drag selection (aka units).
You can disable drag-select for individual players via trigger.