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.