I can´'t get this to work, correctly. I want to highlight the Broodlings of a BroodLord, only if it is selected.
What I did is add "StatusOn.*.Selected" which sends "Signal.*.BroodLordSelected"in the Broodlord actor. I cant catch the signal in the Broodling actor. I tried "Signal.*.BroodLordSelected" and add SetTintColor.
Thanks, that worked! I have not read about query actors before. Problem is, if the Broodlord gets in range of another unselected one, its broodlings get highlighted too.
So I think I'll go another way:
1. I'll add a conjoined behavior to broodlord and broodlings,
2. make the broodlings selectable,
3. hide the selection circles of the broodlings with a z-offset of 100 and
4. add the messages from my first post to all units (StatusOn.*.Selected; HaloStart and StatusOff.*.Selected; HaloStop)
Ugly side effect is, that now you see the move order commands of the broodlings.
I can´'t get this to work, correctly. I want to highlight the Broodlings of a BroodLord, only if it is selected.
What I did is add "StatusOn.*.Selected" which sends "Signal.*.BroodLordSelected"in the Broodlord actor. I cant catch the signal in the Broodling actor. I tried "Signal.*.BroodLordSelected" and add SetTintColor.
You will need query region actors.
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
Thanks, that worked! I have not read about query actors before. Problem is, if the Broodlord gets in range of another unselected one, its broodlings get highlighted too.
So I think I'll go another way:
1. I'll add a conjoined behavior to broodlord and broodlings,
2. make the broodlings selectable,
3. hide the selection circles of the broodlings with a z-offset of 100 and
4. add the messages from my first post to all units (StatusOn.*.Selected; HaloStart and StatusOff.*.Selected; HaloStop)
Ugly side effect is, that now you see the move order commands of the broodlings.
So using an At or Scope term did not help?
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