• 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.

make a ship using windwalk

Status
Not open for further replies.
Level 13
Joined
Jul 3, 2008
Messages
1,098
trigger1
event:unit uses abbility
condition:abbility being cast equal to wind walk
casting unit equal to your ship
action: add qhost
set variable: shipwithinvis=casting unit

ghost is undead abbility that has got ghost

trigger 2
event:unit has attacked another unit
condition:attacking unit equal to shipwithinvis
action:remove ghost from shipwithinvis

trigger3
event:unit casts abbility
condition:casting unit equal to shipwithinvis
action: remove ghost from shipwithinvis
disable breakinvis abbility

and you can also make abbility that breaks invis

trigger4
event:unit casts abbility
conditions:abbility being casted equal to windwalk
action:enable breakinvis abbility
 
Level 25
Joined
Apr 27, 2008
Messages
2,512
you can use triggers to change colors or visibility
just set visibility to 50% or other using a current event
event:a unit learn a skill(passive skill is better)
condition:lerned hero skill equal to x
action:set visibility ...

if you want a normal wind walk
Event: every 1 sec
action:pick every unit:if:piked unit have buff wind walk
then:set visibility to ....
else:set visibility to 0
 
Level 25
Joined
Apr 27, 2008
Messages
2,512
event:every 1 second of game time

conditions:none

actions:pick every unit in gameplay
if,then,else:if picked unit has got buff wind walk
then actions:set visibility to 50%
else actions:set visibility to 100%

cause the unit is using wind walk he cannot be attacked by enemy unit unless his detected.

the visibilty dont affect the ability it only make unit tranparent like ghosts, if you make it 0% your unit will be invisible for you and your enemies but you can still order him
 
Status
Not open for further replies.
Top