• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

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:
 

x3m

x3m

Level 3
Joined
Apr 11, 2008
Messages
51
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?
 
Level 4
Joined
Aug 9, 2008
Messages
67
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?
 
Level 2
Joined
Aug 10, 2008
Messages
20
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..
 
Level 13
Joined
Jul 3, 2008
Messages
1,098
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?
 
Level 2
Joined
Aug 10, 2008
Messages
20
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
 
Level 2
Joined
Aug 10, 2008
Messages
20
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=)
 
Level 2
Joined
Aug 10, 2008
Messages
20
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..
 
Level 2
Joined
Aug 10, 2008
Messages
20
well i used another trigger:p hide/unhide u know.. but i took a good look at ur trigger and gonna make it and test it=) so ty :wink:
 
Level 6
Joined
Aug 29, 2008
Messages
134
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.
Top