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

Adding Buff to Permanent Invisibility

Status
Not open for further replies.
Level 3
Joined
Jul 12, 2004
Messages
42
This shouldnt be to hard, but i cant seem to figure it out.

One of my units has permanent invisibility except i changed it abit so it requires 8 seconds to become stealthed again after attacking.

I would like to make it so when he is invisible it gives him a buff that says "this unit is invisible blah blah"

Just so i can use triggers so some of his other abilities require him to be invisible.

The problem occurs when i put the buff on the ability. When I test out the map it does not work, the buff never appears.

anyone know how i can get the buff to work?
 
Level 9
Joined
Jul 27, 2006
Messages
652
Im not sure this is possible without a complete redo of the ability using triggers and the sorceress ability "invisibility".
If thats the way you want to go, post your request at my Spell Factory and I'll do it ASAP.
Hope this helps...
 
Does he have to channel the invisibility's effects? Or does he just click on and walk around during the 8 seconds? If it's channeling, then this should help.
  • Trigger 1
  • Events
    • Unit - A unit begins channeling an ability
  • Conditions
    • Ability being cast = Invisibility
    • Casting Unit = YourUnit
  • Actions
    • Set InvisCast = True
    • Wait 1 second
    • If (InvisCast = False) Then (Skip remaining actions) Else (Do nothing)
    • Wait 1 second
    • If (InvisCast = False) Then (Skip remaining actions) Else (Do nothing)
  • Wait 1 second
    • If (InvisCast = False) Then (Skip remaining actions) Else (Do nothing)
  • Wait 1 second
    • If (InvisCast = False) Then (Skip remaining actions) Else (Do nothing)
  • Wait 1 second
    • If (InvisCast = False) Then (Skip remaining actions) Else (Do nothing)
  • Wait 1 second
    • If (InvisCast = False) Then (Skip remaining actions) Else (Do nothing)
  • Wait 1 second
    • If (InvisCast = False) Then (Skip remaining actions) Else (Do nothing)
  • Wait 1 second
    • Set InvisCast = False
    • Game - Send message to blah blah
  • Trigger 2
  • Events
    • Unit - A unit stops channeling an ability
  • Conditions
    • Ability being cast = Invisiblity
    • Casting unit = YourUnit
  • Actions
    • Set InvisCast = False
 
Level 3
Joined
Jul 12, 2004
Messages
42
actualy its a passive spell,
its permanent invisiblity i think in the neutral hostile section
i just changed it so after attacking it requires 8 seconds to go back invisible
vs the 2 seconds it had before...

now i could make it kinda like windwalk based, but i dont want him to have to click it, id perfer it to be passive, and thats where my trouble comes in

i dont know how to add a buff to the passive spell, only while hes completly invisible

now i was thinking maybe putting in a building that cast invisiblity on him, seting the duration to 99999999 and when he attacks it waits 8 seconds and cast it on him again

problem: Wont that make it so he can attack for 7 seconds, then go stealth in one second?

so im pretty much lost XD
 
Level 3
Joined
Jul 12, 2004
Messages
42
I want it to turn off when he attacks, then require 8 seconds for it to turn back on, thats not the problem though, i got that working.

I just need him to aquire a buff when hes completly invisible
 
Status
Not open for further replies.
Top