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.
[01:35 am]
Ultraviolet -- Vrael
Vrael shouted: NEED SOME SPORTBALL> WE GOT YOUR SPORTBALL EQUIPMENT MANUFACTURING
Gonna put deez sportballs in your mouth
[01:24 pm]
Vrael -- NEED SOME SPORTBALL> WE GOT YOUR SPORTBALL EQUIPMENT MANUFACTURING
[2024-4-30. : 5:08 pm]
Oh_Man -- https://youtu.be/lGxUOgfmUCQ
[2024-4-30. : 7:43 am]
NudeRaider -- Vrael
Vrael shouted: if you're gonna link that shit at least link some quality shit: https://www.youtube.com/watch?v=uUV3KvnvT-w
Yeah I'm not a big fan of Westernhagen either, Fanta vier much better! But they didn't drop the lyrics that fit the situation. Farty: Ich bin wieder hier; nobody: in meinem Revier; Me: war nie wirklich weg
[2024-4-29. : 6:36 pm]
RIVE -- Nah, I'm still on Orange Box.
[2024-4-29. : 4:36 pm]
Oh_Man -- anyone play Outside the Box yet? it was a fun time
[2024-4-29. : 12:52 pm]
Vrael -- if you're gonna link that shit at least link some quality shit: https://www.youtube.com/watch?v=uUV3KvnvT-w
[2024-4-29. : 11:17 am]
Zycorax -- :wob:
[2024-4-27. : 9:38 pm]
NudeRaider -- Ultraviolet
Ultraviolet shouted: NudeRaider sing it brother
trust me, you don't wanna hear that. I defer that to the pros.
[2024-4-27. : 7:56 pm]
Ultraviolet -- NudeRaider
NudeRaider shouted: "War nie wirklich weg" 🎵
sing it brother
Please log in to shout.


Members Online: jun3hong