• Check out the results of the Techtree Contest #19!
  • 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.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

make a ship using windwalk

Status
Not open for further replies.
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
 
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
 
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.
Back
Top