Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: [SOLVED] Detecting # of Selected Units
[SOLVED] Detecting # of Selected Units
This topic is locked. You can no longer write replies here.
May 22 2012, 3:37 am
By: IAGG  

May 22 2012, 3:37 am IAGG Post #1



Is it possible to detect how many units someone is currently selecting? If so please let me know. I might try something is someone is selecting more than 12 units if thats even possible to detect.



None.

May 22 2012, 1:42 pm Roy Post #2

An artist's depiction of an Extended Unit Death

It's possible with EUDs to detect if a player has selected anything for a given selection slot. However, it's not possible to detect if a player is using a multi-selection hack, because there isn't actually any address in SC's memory other than the twelve selection slots.

To check if anything is selected for the current selection slot, use "At least 1" as the value. If the value at the address is 0, it means nothing is selected. Example:

Detecting Number Of Units Selected

If you're trying to use this as a selection hack detector, I don't think you'll make much progress.




May 22 2012, 5:09 pm IAGG Post #3



Thank you, thats also what i was looking for.



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[2026-8-24. : 1:15 am]
Symmetry -- There are so many people here I'm surprised we're still online :hurr:
[2026-8-23. : 9:47 pm]
Symmetry -- :wob::wob:
[2026-8-23. : 9:14 pm]
Apos -- I like to :wob:-it :wob:-it.
[2026-8-22. : 11:25 pm]
Zakerozi -- HI
[2026-8-22. : 10:29 pm]
Symmetry -- handledeez nuts
[2026-8-22. : 7:42 pm]
Excalibur -- Its handled.
[2026-8-22. : 6:50 pm]
Praetor -- yo nude or another mod, anyone around rn?
[2026-8-22. : 7:30 am]
NudeRaider -- ultraviolet
[2026-8-22. : 4:42 am]
LoveLess -- ultragod
[2026-8-22. : 4:07 am]
Symmetry -- I'm trying to figure out an end goal for my map. So far the best I've got is "destroy the AI data centers to summon god then kill god"
Please log in to shout.


Members Online: l)ark_ssj9kevin, RIVE, lifebot, Symmetry