invisibility? help wud be great

Status
Not open for further replies.
Level 2
Joined
Aug 10, 2008
Messages
20
ehm yea i was wondering if anyone cud help me with making a unit invisibel. Like a unit is ordered to patrol/move to. but after 2 seconds he gets invisibel and then after a second he gets revealed.. and so on.:eekani:

if anyone had any clue on what i was trying to explain, an answer wud be apriciated=):razz:
 
Just give him wind walk ability. Order him to use it. Use reset cooldown or change it in object editor. It's easy. Need more help than this?
 
Do you mean that when a unit moves, it waits for 2 seconds then he must be invisible for 1 second and then normal again?
 
well yea.. a unit patrols. then autoamticly he gets invisible for 1 second or so. and it happends every for example 2 second of game..
 
trigger 1
event:
every 2 seconds of game time
action:
pick all units of tipe your hero in playable map area and do actions
i all conditions are true then do actions
conditions:
picked unit has order patrol
action:
add ghost to picked unit
turn on trigger2
set variable invishero=picked hero

and another one
trigger2
event:
time 1 second
action:
remove ghost from invishero

is it what you want?
 
well ye something like that.. its not my hero that is gonna be invisible.
its an escape im doing right. and a unit is patroling that is gonna be invisible. and if that triggers does it then thnx
 
ok u know escapes right? now what i want is.. that i make a unit patrol. then after every 2 seconds, it gets invisiblefor a 1second, after that second. it gets visible again. and so on.. all the time.. do u fully understand? i just dont know the trigger for that so i need hhelp=)
 
i dont fully unerstand ur trigger.. action:
pick all units of tipe your hero in playable map area and do actions
i all conditions are true then do actions.. i dont get that.. or i cant find that trigger..
 
lol... after 10 mins i got it...

Events:
Every 3.00 of game time
Conditions:
-----
Action:
Unit - Hide <Picked unit> <gen>
Wait 1.00 seconds
Unit - Unhide <Picked unit> <gen>

simple... but works!

----
PLZ! reply on this!!!!! im deing to find out if it helped!!!!!!!!!! (sorry flooding!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!)
 
Last edited:
Status
Not open for further replies.
Back
Top