Making a unit permenantly invisible for a short amount of time...

hellblazer-1

New Member
Reaction score
3
Hey Guys

I'm stuck here... I want my unit (when it casts the custom ability stealth based off wind walk) to become invisible until the ability ends, or it attacks. I know its only possible with triggers.

Here is my trigger, but it doesn't work (the 20 secs is the duration of windwalk)
Code:
invisibility
    Events
        Unit - A unit Begins casting an ability
    Conditions
        (Ability being cast) Equal to Stealth 
    Actions
        Unit - Add Permanent Invisibility to (Triggering unit)
        Wait 20.00 seconds
        Unit - Remove Permanent Invisibility from (Triggering unit)


Can somebody tell me how to do this in another way, or fix this trigger?
Thanks!!
 
O

Opossum

Guest
I assume you want to make a windwalk without the ability to pass through units? Otherwise you'd just use regular windwalk, I guess. Maybe make a dummy unit that casts an ability based on the sorceress' invisibility on your stealthing unit?
 

hellblazer-1

New Member
Reaction score
3
problem, i don't want my unit to lose its invisibility if it casts an ability.
I know wind walk can do all this though.
 

FireBladesX

Eating my wings!
Reaction score
123
Unit starts Cloak:
Create a dummy unit with Frost Armor. Frost Armor the target. Frost Armor lasts 20 seconds. It doesn't do anything, maybe just adds an interesting art. Like the Vengeance Sphere or Tornado Spin. Create a 20 second timer.

Second trigger!
Unit casts an ability.
Unit has buff Frost Armor.
Create a dummy unit with Invis, with 20 levels of it. Set the level of ability of Invis to the remaining seconds in the timer. Level 1 is a 1 second invis, Level 2 is a 2 second invis, and so on.
Order the dummy unit to Invis the triggering unit.

The problem with this:
It's not MUI.
I didn't explicitly state the code. Laziness is my failure.
 

Daskunk

SC2 Forum MVP - TheSkunk #386
Reaction score
186
Make a dummy unit cast sorceresses invisibility that lasts 20 seconds on him? Not sure if that would do it or not..
 

denmax

You can change this now in User CP.
Reaction score
155
Just add permanent invisibility to a unit then remove it after <blank> seconds..

Another thing, base the spell on Channel (customize it), not Wind Walk..

Events
- Unit - A unit Starts the Effect of an Ability
Conditions
- Ability being cast equal to (your spell)
Actions
- Unit - Add Permanent Invisibility to (Triggering unit)
- Wait 20.00 seconds
- Unit - Remove Permanent Invisibility from (Triggering unit)
 

FireBladesX

Eating my wings!
Reaction score
123
Denmax, did you read the post...
Hey Guys

I'm stuck here... I want my unit (when it casts the custom ability stealth based off wind walk) to become invisible until the ability ends, or it attacks. I know its only possible with triggers.

Here is my trigger, but it doesn't work (the 20 secs is the duration of windwalk)
Code:
invisibility
    Events
        Unit - A unit Begins casting an ability
    Conditions
        (Ability being cast) Equal to Stealth 
    Actions
        Unit - Add Permanent Invisibility to (Triggering unit)
        Wait 20.00 seconds
        Unit - Remove Permanent Invisibility from (Triggering unit)


Can somebody tell me how to do this in another way, or fix this trigger?
Thanks!!
Correct me if I'm wrong, but I think you said the exact same thing that he said didn't work...
 

denmax

You can change this now in User CP.
Reaction score
155
Denmax, did you read the post...

Correct me if I'm wrong, but I think you said the exact same thing that he said didn't work...

Begins casting and Starts the Effect of an ability are 2 different things...
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top