Staredit Network > Forums > SC2 Custom Maps > Topic: Make a unit undetectable
Make a unit undetectable
Aug 26 2010, 4:15 pm
By: fat_flying_pigs  

Aug 26 2010, 4:15 pm fat_flying_pigs Post #1



I'm making a map where the roach is used to borrow move to scout. However, there are some detector units with a small range (like 3).

Is there a way to make an ability to make the roach undetectable for a period of time? This mean they cannot see it on the map or minimap, they cant see the circle and exclamation mark from a sensor tower, they can't click it, they can't attack it (until the ability wears off).
Or is there a way to do the opposite - temporally take away the detection ability from near by units?



None.

Aug 26 2010, 6:45 pm shmeeps Post #2



I don't have access to the editor right now, so I can't double check, but I believe detection is a behavior, and behaviors can be removed/toggled with abilities, (much like stimpacks), and possibly even with triggers. If nothing else, you can force an ability use with a trigger.



None.

Aug 26 2010, 7:04 pm Undead-Fox Post #3



In the Data Editor, go to your [UNIT]>Unit tab>CUnit_FlagArray> and check e_unitFlagUndetectable.
I'm sure there is some way to flip this flag through triggers and such, but in there you'll find all you should be looking for, like the Undetectable, Unradarable, Unclickable, Un-etc.



None.

Aug 26 2010, 7:17 pm Temp Post #4



There is also an undetectable and not on radar flag for all units.



None.

Aug 26 2010, 10:44 pm payne Post #5

:payne:

Talking of units' flags, why do I see "can't select" and "can't move" all around on units that I in fact -can- select and move? :/



None.

Aug 29 2010, 2:47 pm Gigins Post #6



Because it doesn't make any sense once again. :wtfage:



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[08:05 pm]
Symmetry -- 50% of strings in starcraft are references
[2026-6-07. : 1:59 am]
RIVE -- Lots of fun little nods to different works of others in the cheats too.
[2026-6-06. : 5:17 pm]
Oh_Man -- so i was today years old wen i learned rebel yell starcraft mission is named after a billy idol song. makes me wonder wat other missions are named after songs
[2026-6-04. : 3:42 am]
RIVE -- Hellooooo, Nurse
[2026-6-03. : 4:19 pm]
NudeRaider -- Hello World!
[2026-6-01. : 4:03 pm]
IskatuMesk -- no Hello World? No Hello . jpeg? Not even ddosing some government website? smh my head
[2026-5-31. : 10:02 pm]
Symmetry -- I was really just figuring out how to compile
[2026-5-31. : 10:02 pm]
Symmetry -- I didn't make it do anything
[2026-5-31. : 9:17 pm]
Ultraviolet -- hell yeah. did you have trouble making the button functional, or just haven't gotten there yet?
[2026-5-31. : 8:29 pm]
Symmetry -- I made the marine shoot lasers and gave the medic a nonfunctional button
Please log in to shout.


Members Online: Roy, O)FaRTy1billion[MM], Ultraviolet