Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: Invisibility Trigger
Invisibility Trigger
May 15 2010, 4:44 pm
By: DeM)s.  

May 15 2010, 4:44 pm DeM)s. Post #1



I was wondering if anyone knew how to make a trigger that would/can turn a unit invisible and vice-versa. I know you can make units invisible, Example: Line-Tower Wars but I just can't figure out a way to do it. Thanks.



None.

May 15 2010, 5:06 pm Aristocrat Post #2



Hide arbiters offscreen or use "disable doodad state" on some units. See the wiki for more info.



None.

May 15 2010, 8:54 pm DeM)s. Post #3



How do you hide arbiters offscreen? and I tried the disable doodad state but it didn't work.



None.

May 15 2010, 11:30 pm Jesusfreak Post #4



Disabling by itself only works on a few things. It can have varying effects on units, for example, some units will cloak but be locked in a certain animation.

I'm pretty sure there's no trigger for making stuff uncloak, but you can make some units cloak with this:

Conditions:
Quote
Player X brings at least 1 whatever to Cloaking Location
Actions:
Quote
Disable doodad state for whatever at Cloaking Location
Wait 0 miliseconds
Enable doodad state for whatever at Cloaking Location
Wait 0 miliseconds
Enable doodad state for whatever at Cloaking Location
Wait 0 miliseconds
Issue order for whatever owned by Player X move to Wherever
Wait 0 miliseconds
Give 1 lightworker owned by Player X at Cloaking Location to (player you want the civ to go to).
Wait 0 miliseconds
Move 1 lightworker to Wherever
Preserve trigger[/quote]

This only works on one unit at a time, and that redisabling a unit after doing this will result in crashing. This does not work on all units, and the units that will cloak (and not crash) vary slightly from tileset to tileset (jungle and badlands are the best, if I recall correctly). Also, if the unit being cloaked has energy, it's energy will constantly go down as a result of being cloaked, and it will remain cloaked if it runs out of energy. Units cloaked in this method also cannot uncloak, even if they normally posess the cloak ability.

Units cloaked through this method must be detected before appearing cloaked. Before they are detected, units cloaked in this way will look normal, except that you won't be able to click on them (depending on the circumstances, this may be desirable). After being detected, they will look see-through like normal cloaked units, and after the detector goes away, they will appear cloaked as normal. Also note that geysers will stay visible after being detected even after the detector is removed (I don't remember if you can cloak geysers directly, but if you cloak an extractor/assimilator/refinery, and destroy it, the geyser will remain cloaked).



None.

May 16 2010, 3:04 am Lanthanide Post #5



You don't need to do "enable, enable". Just diable followed by enable is sufficient.

Also the geyser is not really cloaked, it is more 'absent'. You can still click on it and get the selection circle, but the graphic is gone entirely (not just cloak-distorted). The geyser puffs will still appear to give away it's location. If a player builds an extractor on it, and the extractor is destroyed the geyser will again appear normally.



None.

May 16 2010, 4:21 am UnholyUrine Post #6



http://www.staredit.net/wiki.php?article=Cloaking_%28Disabling%29_2&skin=5 for future references ^^



None.

May 17 2010, 2:34 am DeM)s. Post #7



Thank you Unholy, looks like the unit that I wanted to cloak just made the game crash. Looks like I'll have to get rid of that spell. :(



None.

May 17 2010, 5:40 am rockz Post #8

ᴄʜᴇᴇsᴇ ɪᴛ!

any burrowing zerg units can be perma cloaked via the arbiter trick FYI, but they will lose their cloaking after you reburrow them. Also, Hydras only crash sometimes based on direction. Usually it's one particular frame which crashes, and you can control which frame is being shown while disabled by ordering the unit to move in a certain direction. Once they are re-enabled, they are usually stable (there are some obvious non-stable ones, like a stacked BC unit Sprite, which flies diagonally, and if you fly down, it will crash because it tries to show a non-existent frame).



"Parliamentary inquiry, Mr. Chairman - do we have to call the Gentleman a gentleman if he's not one?"

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[09: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
[2024-4-27. : 6:24 pm]
NudeRaider -- "War nie wirklich weg" 🎵
[2024-4-27. : 3:33 pm]
O)FaRTy1billion[MM] -- o sen is back
[2024-4-27. : 1:53 am]
Ultraviolet -- :lol:
[2024-4-26. : 6:51 pm]
Vrael -- It is, and I could definitely use a company with a commitment to flexibility, quality, and customer satisfaction to provide effective solutions to dampness and humidity in my urban environment.
[2024-4-26. : 6:50 pm]
NudeRaider -- Vrael
Vrael shouted: Idk, I was looking more for a dehumidifer company which maybe stands out as a beacon of relief amidst damp and unpredictable climates of bustling metropolises. Not sure Amazon qualifies
sounds like moisture control is often a pressing concern in your city
[2024-4-26. : 6:50 pm]
Vrael -- Maybe here on the StarEdit Network I could look through the Forums for some Introductions to people who care about the Topics of Dehumidifiers and Carpet Cleaning?
[2024-4-26. : 6:49 pm]
Vrael -- Perhaps even here I on the StarEdit Network I could look for some Introductions.
[2024-4-26. : 6:48 pm]
Vrael -- On this Topic, I could definitely use some Introductions.
Please log in to shout.


Members Online: Roy