Staredit Network

Staredit Network -> UMS Assistance -> I need help with cloaking
Report, edit, etc...Posted by Wizards on 2005-09-05 at 09:45:08
Hi. I'm making a bound and I would like the zerglings to be cloaked. I have read the tutorial but it didn't work for me. Either it crashed me even if I didn't look at it or the zergling wasn't cloaked at all. How would I do that?

I also want to know how you can move a cloaked marine (if you can) >.<
Report, edit, etc...Posted by Oo.Vic.oO on 2005-09-05 at 10:49:47
Conditions:
any

Actions:
Disable doodad state for unit
Wait
Enable doodad state for unit
Wait
Enable doodad state for unit
Wait
Order "move" to unit

do that it works make sure the ling is in a place with fog n u cant c it. N turn off visions
Report, edit, etc...Posted by Deathknight on 2005-09-05 at 11:42:45
Place two locations beside each other out of sight of any human players.

Create the unit you want to cloak at Location 1, and run the following trigger:


Trigger
Description:
Cloak and make movable units
Players:
¤ Doesn't matter
Conditions:
¤ Switch 1 is set.
Actions:
¤ Disable doodad state for -unit- at location 1.
¤ Wait 0.
¤ Enable doodad state for -unit- at Location 1.
¤ Order -unit- to move from Location 1 to Location 2.
¤ Clear switch 1.
¤ Preserve trigger.



Trigger
Description:
Move unit from Location 2 to required location
Players:
¤ Doesn't matter
Conditions:
¤ -Player- brings at least 1 -unit- to Location 2.
Actions:
¤ Move all -unit- from Location 2 to Location 3.
¤ Preserve trigger.


I've used two triggers so that a large wait block is not necessary, and if you're using hypers, you can use Switch 1 to toggle them(Cleared=On, Set=Off).

Running an "Enable Doodad State" action twice when the unit is already enabled is also not necessary.
Next Page (1)