I think it must exist an action to set the life status bar for units to be team-colored, and one to show the status bar only if the units are damaged, as I've seen it once in an arcade map (Tya's Zerg Defense), but I can't find it. Help?
One can force set certain player gameplay options using the appropriate player action. This is useful for forcing simplified command cards off or altering the life bar visibility or team colour settings.
Yes, I know I can use Trigger actions, but it seems there's no action to lock that stuff, unless the status bar and the team color behaviors are locked by a custom script (which I'd have no idea how to write). And as you pointed it out, I'd like to lock Simple Command Card off as well (I found a workaround with altering buttons Simplified Text but I'd like a more systematic way).
Force Gameplay Option
Events
Timer - Every 1.0 seconds of Game Time
Local Variables
Conditions
Actions
Player Group - Pick each player in (Active Players) and do (Actions)
Actions
Player - Override Enable Simple Command Card option for player (Picked player) to Disabled
Player - Override Display Team Colored Life Bar option for player (Picked player) to Enabled
Player - Override Enable Enemy Unit Selection option for player (Picked player) to Enabled
Player - Override Enable Enemy Unit Selection option for player (Picked player) to Enabled
I think it must exist an action to set the life status bar for units to be team-colored, and one to show the status bar only if the units are damaged, as I've seen it once in an arcade map (Tya's Zerg Defense), but I can't find it. Help?
One can force set certain player gameplay options using the appropriate player action. This is useful for forcing simplified command cards off or altering the life bar visibility or team colour settings.
In reply to Forge_User_04585675:
You can force the options every few game frames. That makes them as good as being locked.
Yes, but the problem is: what I have to do to force them?
Using a trigger like this...
Thanks! I couldn't figure out in my life that the needed action was Override Player Option.
It might not be necessary to override the options periodically. It might be sufficient to do it just once at map initialization.