• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

How do I make abilities that don't break stealth

Status
Not open for further replies.
Level 4
Joined
Apr 18, 2013
Messages
57
I am trying to make a character based around invisibility (stealth) and there are a few abilities that i want to make that do not break stealth (teleporting to target unit, putting target asleep, I'm making a pickpocket ability, etc.) Do I have to make my own stealth ability and not use windwalk or can I achieve this using windwalk?
 
Level 4
Joined
Jan 27, 2010
Messages
133
There is a unit ability called permanent invisibility (used by Akama in the Blood Elf campaign). That can be tweaked to obtain true invisibility.

This should work (since you does not state differently, I assume that only 1 unit will have this, i.e. it need not be MUI).

  • Cast
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Berserk
    • Actions
      • Unit - Add Permanent Invisibility to (Triggering unit)
      • Set InvisibleUnit = (Triggering unit)
      • Countdown Timer - Start InvisibleTimer as a One-shot timer that will expire in 30.00 seconds
  • EndTimer
    • Events
      • Time - InvisibleTimer expires
    • Conditions
    • Actions
      • Unit - Remove Permanent Invisibility from InvisibleUnit
  • EndCast
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Triggering unit) Equal to InvisibleUnit
      • And - All (Conditions) are true
        • Conditions
          • (Ability being cast) Not equal to Blink
          • (Ability being cast) Not equal to Pickpocket
          • (Ability being cast) Not equal to Sleep
    • Actions
      • Unit - Remove Permanent Invisibility from InvisibleUnit
      • Countdown Timer - Pause InvisibleTimer
  • EndAttack
    • Events
      • Unit - A unit Is attacked
    • Conditions
      • (Attacking unit) Equal to InvisibleUnit
    • Actions
      • Unit - Remove Permanent Invisibility from InvisibleUnit
      • Countdown Timer - Pause InvisibleTimer
 
Level 1
Joined
May 5, 2013
Messages
5
You could utilize the ability aptly called "Ghost"

Give it to the unit that you want stealthy.

Unit stays hidden even when using abilities.

Create function to remove it as needed.
 
Status
Not open for further replies.
Top