Staredit Network

Staredit Network -> UMS Assistance -> cloak unit trigger?
Report, edit, etc...Posted by glytchur on 2005-02-28 at 18:26:06
is there a trigger to cloak a unit other than recreating the unit with properties cloaked?
Report, edit, etc...Posted by LegacyWeapon on 2005-02-28 at 18:28:47
We have tutorials for everything!
http://www.staredit.net/index.php?tutorial=32
Report, edit, etc...Posted by glytchur on 2005-02-28 at 20:48:25
QUOTE(LegacyWeapon @ Feb 28 2005, 06:28 PM)
We have tutorials for everything!
http://www.staredit.net/index.php?tutorial=32
[right][snapback]155893[/snapback][/right]

oh... oops... lol... thanks man


ADDITION:
i just tried it and it cloaked it and everything and it was awesome... one major problem, im using a ghost and it cant move or anything and it acts like a ghost attacking sprite kinda... is there another way?
Report, edit, etc...Posted by chuiu on 2005-02-28 at 22:06:44
That cloaks units a different way. You cannot cloak them the way you want to. The only way I could think of is giving them to a computer with enough mana and cloaking enabled and put an enemy nearby them that would pursuade them to cloak. yawn.gif
Report, edit, etc...Posted by FaZ- on 2005-03-03 at 00:57:45
This is noot quite cloaking a ghost but it does tranform ghosts into cloaked ghosts:

Trigger
Conditions:
¤ Cloaking Conditions
Actions:
¤ Center location labeled "Cloak" on Ghost owned by player.
¤ Remove exactly 1 ghost at location "Cloak" for player.
¤ Create 1 "Ghost" at location "Cloak" for Player. Apply properties (cloaked with energy).
¤ Comment: Cloak.
¤ Preserve Trigger.


Make sure cloaking is enabled. Hyper trigs would allow this to run through quite a few units quickly.

Edit: POST NUMBER 300 WOOOOO!
Report, edit, etc...Posted by l)ark_13 on 2005-03-06 at 02:45:30
No, glytcher and chuiu_os, that first tutorial trigger works just fine! I have cloaked ghosts that can move! glycher, you probably didn't understand the trigger or made a little un-noticable mistake that screwed up the whole trigger. Do exactly this:

Create two locations, 'Location 0' and 'Location 1'. Make them 2x2 locations or larger (not much larger or you will have to make the wait at the end of the trigger longer). Make sure these two locations are touching. Now, make this trigger:


Trigger
Description:
Cloaking a Ghost
Players:
¤ Ghost Cloaker
Conditions:
¤ Can be any conditions you want.
Actions:
¤ Move 'Ghost' at 'Anywhere' to 'Location 0'.
¤ Wait 10 milliseconds.
¤ Disable doodad state for 'Ghost'.
¤ Wait 10 milliseconds.
¤ Enable doodad state for 'Ghost'.
¤ Enable doodad state for 'Ghost'.
¤ Wait 10 milliseconds.
¤ Order 'Ghost' at 'Location 0' to move to 'Location 1'.
¤ Wait 750 milliseconds.
¤ Preserve trigger. (Optional)


There you have it; a walkable, shootable, cloakable ghost. The cool part is, if you watch the ghosts energy, it goes down, but when it reaches 0 the ghost stays cloaked! w00t.gif
Report, edit, etc...Posted by chuiu on 2005-03-06 at 10:31:58
No, Dark, he doesn't want to cloak the ghost and not be able to use it again. READ THE THREAD.
Next Page (1)