• 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

Status
Not open for further replies.
Level 7
Joined
Aug 30, 2008
Messages
347
Question:
How do you make a unit be invisible while attacking, when a skill is activated
for example mirror image or warstomp, or any other one click abilities,

that after then spell is done channeling, it gives the hero permanent invisibility even when attacking.

i tried doing it so that after ability is cast, wait 2 seconds give perma invis with 0 transition or durations.

though i read on a site that doing this will cause leaks and is inefficient. so pls reply! :thumbs_up:
 
Level 20
Joined
Oct 21, 2006
Messages
3,230
Use permanent visibilty and set its casting time to 0.00.

Use wind walk with 0.01 second invisiblity as the base spell. Make a tigger that adds the permanent invisiblity to the casting unit when the wind walk is being casted. You can also base it on berserk or divine shield. These spells have no cast time.

And about the removing of the permanent invisiblity. Do the following: Wait X seconds, Remove permanent invisiblity from triggering unit. Its important that you use triggering unit, not casting unit.
 
Level 7
Joined
Aug 30, 2008
Messages
347
those have no leaks? or any bugs?

like for example the hero dies in the process and the ability is given, when the hero revives he will not have the skill?

ok ill try it.
 
Status
Not open for further replies.
Top