Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: Show unit control board for a force
Show unit control board for a force
Feb 3 2019, 12:36 am
By: 123dominico  

Feb 3 2019, 12:36 am 123dominico Post #1



I have 2 enemy players and I need the players to know how many units the enemies have but I can not find the way, changing from 2 to 1 is not an option.

Or some alternative method to see how many units in total have 2 players?



None.

Feb 4 2019, 7:49 am NudeRaider Post #2

We can't explain the universe, just describe it; and we don't know whether our theories are true, we just know they're not wrong. >Harald Lesch

A clunky method would be to create triggers for every possible value:

Use custom score and triggers that add to it depending on the unit counts

IF [always] set dc_Display to 0 (just a random variable)
AND set Custom Score to 0 for CPU_force (contains both computer players)
AND show leaderboard Custom Score

IF CPU_force controls at least 10 [men]
AND dc_Display = 0
THEN add 1 to dc_Display
AND add 10 to custom score for CPU_force

IF CPU_force controls exactly 9 [men]
AND dc_Display = 0
THEN add 1 to dc_Display
AND add 9 to custom score for CPU_force

IF CPU_force controls exactly 8 [men]
AND dc_Display = 0
THEN add 1 to dc_Display
AND add 8 to custom score for CPU_force

... until controls 1 men

Note that I've added to the force, so the leaderboard will show the same value for both computer players: The sum of both player's unit counts.
In my example I've used "at least" to add 10 -> so anything over 10 counts as "many" - if that is practical for you.

Post has been edited 1 time(s), last time on Feb 10 2019, 10:05 pm by NudeRaider.




Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[12:07 am]
Vrael -- NudeRaider
NudeRaider shouted: Vrael ranting still is though
you're a gentleman and a scholar, thank you
[2026-4-13. : 10:07 pm]
NudeRaider -- ya why phone people when you can just write letters
[2026-4-13. : 9:37 pm]
IskatuMesk -- I have never and will never own a phone
[2026-4-13. : 9:15 pm]
NudeRaider -- Vrael ranting still is though
[2026-4-13. : 9:14 pm]
ClansAreForGays -- anticapitalism isnt edgy anymore
[2026-4-13. : 3:31 pm]
Vrael -- it only costs 50% of my post-tax salary for life and in return I get to also become a drone whose sole purpose is CAPITALISM
[2026-4-13. : 3:30 pm]
Vrael -- pssht, you're still using a phone? I just record 100% of my life using my ElonBrainChip
[2026-4-13. : 2:13 pm]
NudeRaider -- bro I don't go anywhere without my phone to record anything significant
[2026-4-13. : 1:28 pm]
Vrael -- Zoan
Zoan shouted: not if u wer there
id say even if you were there its tricky, human memory can be very faulty
[2026-4-12. : 11:55 pm]
Zoan -- not if u wer there
Please log in to shout.


Members Online: l)ark_ssj9kevin, seemlyfighter77, Zoan