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.
[05:41 am]
Ultraviolet -- 🤔 so inf is in you?
[04:57 am]
O)FaRTy1billion[MM] -- my name is mud
[04:35 am]
Ultraviolet -- mud, meet my friend, the stick
[10:07 pm]
lil-Inferno -- nah
[08:36 pm]
Ultraviolet -- Inf, we've got a job for you. ASUS has been very naughty and we need our lil guy to go do their mom's to teach them if they fuck around, they gon' find out
[05:25 pm]
NudeRaider -- there he is, right on time! Go UV! :D
[05:24 pm]
lil-Inferno -- poopoo
[05:14 pm]
UndeadStar -- I wonder if that's what happened to me. A returned product (screen) was "officially lost" for a while before being found and refunded. Maybe it would have remained "lost" if I didn't communicate?
[03:36 pm]
NudeRaider -- :lol:
[2024-5-16. : 3:02 am]
Ultraviolet -- I'm gonna send inf to have sex with their moms
Please log in to shout.


Members Online: 4emmac7991tr7, Roy, 5camilae1523eh1