Detect when structure or creep is selected
-
As the title says, i'd like to be able to show information about certain units and/or structures only when i click them as a floating text.
As an example, would be nice to show tower's range only when i got that tower selected.
Thanks in advance.
-
It would be great if the UI could feed into the game that a certain object was selected, and then we could tie that into our own visualisation output.
-
@wtfrank Indeed, that would be nice, but what if there are multiple clients online?
-
@duckymirror you can only view 2 rooms simultaneously so I don't see that as much of a problem
-
@wtfrank You can view one room twice. Then the script could render the selection of one client and the one of the other client. That would result in chaos because you see two selections at once.
-
@duckymirror chaos
-
Pretty sure creating plugin for ScreepsSC doing exactly this is quite trivial, I can say that because I did it a long time ago (then stopped using Screeps-SC)