Staredit Network > Forums > SC1 UMS Theory and Ideas > Topic: Selection Detection(EUD)
Selection Detection(EUD)
Jun 23 2009, 1:14 am
By: Morphling  

Oct 20 2019, 9:02 pm Zoan Post #21

Math + Physics + StarCraft = Zoan

Hey, look, a thread from almost 10 years ago!

Anyway, I'm playing with the supported eud actions, and I realized that this particular address is slightly different than described (I think). I set it to have me select unit id 1 constantly, but instead of actually selecting it, it just made it so that all of my commands are issued to that unit. So I can order it around to move and attack while having an entirely different unit selected. Weird.



\:rip\:ooooo\:wob\:ooooo \:angel\: ooooo\:wob\:ooooo\:rip\:

Oct 21 2019, 10:23 pm Roy Post #22

An artist's depiction of an Extended Unit Death

Quote from Zoan
Anyway, I'm playing with the supported eud actions, and I realized that this particular address is slightly different than described (I think). I set it to have me select unit id 1 constantly, but instead of actually selecting it, it just made it so that all of my commands are issued to that unit. So I can order it around to move and attack while having an entirely different unit selected. Weird.
This address is exactly as described, which is why your commands are issued to the unit when you set its value. The reason it doesn't look like the unit is selected is because just setting the address value directly doesn't update any of the UI components.

In other words, when you select a unit in SC, the code updates a bunch of values to show that the unit is selected. Part of this is updating the selected unit group values (described in this thread). You'd need to update many more addresses to emulate what an in-game selection does.




Oct 22 2019, 2:38 pm Zoan Post #23

Math + Physics + StarCraft = Zoan

Ah, makes sense. Any idea what address I should use to make it show me the selected units stats and stuff?

I ask because I’d like to be able to walk into fog of war without it auto deselecting the unit. When you do, as is it makes you unable to issue commands after you lose selection if the unit. I guess you technically have the unit selected through manipulating this address, but you can’t order it to move or anything without selecting another unit.



\:rip\:ooooo\:wob\:ooooo \:angel\: ooooo\:wob\:ooooo\:rip\:

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[07:46 am]
RIVE -- :wob:
[2024-4-22. : 6:48 pm]
Ultraviolet -- :wob:
[2024-4-21. : 1:32 pm]
Oh_Man -- I will
[2024-4-20. : 11:29 pm]
Zoan -- Oh_Man
Oh_Man shouted: yeah i'm tryin to go through all the greatest hits and get the runs up on youtube so my senile ass can appreciate them more readily
You should do my Delirus map too; it's a little cocky to say but I still think it's actually just a good game lol
[2024-4-20. : 8:20 pm]
Ultraviolet -- Goons were functioning like stalkers, I think a valk was made into a banshee, all sorts of cool shit
[2024-4-20. : 8:20 pm]
Ultraviolet -- Oh wait, no I saw something else. It was more melee style, and guys were doing warpgate shit and morphing lings into banelings (Infested terran graphics)
[2024-4-20. : 8:18 pm]
Ultraviolet -- Oh_Man
Oh_Man shouted: lol SC2 in SC1: https://youtu.be/pChWu_eRQZI
oh ya I saw that when Armo posted it on Discord, pretty crazy
[2024-4-20. : 8:09 pm]
Vrael -- thats less than half of what I thought I'd need, better figure out how to open SCMDraft on windows 11
[2024-4-20. : 8:09 pm]
Vrael -- woo baby talk about a time crunch
[2024-4-20. : 8:08 pm]
Vrael -- Oh_Man
Oh_Man shouted: yeah i'm tryin to go through all the greatest hits and get the runs up on youtube so my senile ass can appreciate them more readily
so that gives me approximately 27 more years to finish tenebrous before you get to it?
Please log in to shout.


Members Online: Ultraviolet