Apologies if this has been answered, but I have tried searching all around and can not find a solution.
I am trying to use triggers to change the UI: CActorUnit_BarHeight values for all of the units that are ever on the map. I tried just doing a test run to see if a catalog set would work, but it failed to make any changes:
Catalog - Set value of Actors Probe BarHeight for player 1 to "4"
The actual Action that I am using (since it includes all units created - proven to work in a different trigger where I increase unit scale):
Catalog - Set value of Actors (Unit type of (Created Unit)) BarHeight for player 1 to "4"
I was just not sure the middle part works, so I tested a more generic version with Probe, as mentioned above.
I know that the event is running because other Actions are running from it (tested on map initialization, too). I have tried including all player numbers, as well.
I know I can just change these values in Data, but that was actually what I did in the WoL version of my mod. I am adapting my map to HotS, and I figured I would make it more streamlined by placing it in Triggers, where most of my other changes are. It is a pain to go through all of the units in the Data editor to change this, and even then that may not be completely thorough.
Is it just not possible to modify UI BarHeight in the Triggers? Any ideas? Thanks!
Apologies if this has been answered, but I have tried searching all around and can not find a solution.
I am trying to use triggers to change the UI: CActorUnit_BarHeight values for all of the units that are ever on the map. I tried just doing a test run to see if a catalog set would work, but it failed to make any changes:
Catalog - Set value of Actors Probe BarHeight for player 1 to "4"
The actual Action that I am using (since it includes all units created - proven to work in a different trigger where I increase unit scale):
Catalog - Set value of Actors (Unit type of (Created Unit)) BarHeight for player 1 to "4"
I was just not sure the middle part works, so I tested a more generic version with Probe, as mentioned above.
I know that the event is running because other Actions are running from it (tested on map initialization, too). I have tried including all player numbers, as well.
I know I can just change these values in Data, but that was actually what I did in the WoL version of my mod. I am adapting my map to HotS, and I figured I would make it more streamlined by placing it in Triggers, where most of my other changes are. It is a pain to go through all of the units in the Data editor to change this, and even then that may not be completely thorough.
Is it just not possible to modify UI BarHeight in the Triggers? Any ideas? Thanks!