• 🏆 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!

Making a hero unselectable for spell duration...

Status
Not open for further replies.
Level 2
Joined
Dec 26, 2007
Messages
22
I'm working on a "Fear" spell, and to prevent people from countering the effects, I want to make the target of the spell unselectable by the controller. The spell currently disables all spells, all attacks, and increases thier movement speed by 225%; the idea is that they run away from damage sources (a caster who deals his damage through damage-over-time spells, see the connection? :wink:)

Any feedback would be great!
 
Level 6
Joined
May 3, 2007
Messages
199
This might work or this might not. But I think I remember seeing this be used before in spells.
  • Checking
    • Events
      • Unit - A unit Begins casting an ability
    • Conditions
      • (Ability being cast) Equal to Holy Light
    • Actions
      • Set Caster = (Casting unit)
      • Selection - Remove Caster from selection
      • Wait 2.00 game-time seconds
      • Selection - Add Caster to selection
      • Set Caster = No unit
 
Level 17
Joined
Apr 11, 2007
Messages
1,817
This might work or this might not. But I think I remember seeing this be used before in spells.
  • Checking
    • Events
      • Unit - A unit Begins casting an ability
    • Conditions
      • (Ability being cast) Equal to Holy Light
    • Actions
      • Set Caster = (Casting unit)
      • Selection - Remove Caster from selection
      • Wait 2.00 game-time seconds
      • Selection - Add Caster to selection
      • Set Caster = No unit

Also, that'd deselect the casting unit, not the target...
 
Level 2
Joined
Dec 26, 2007
Messages
22
Kaitech[SanD];551712 said:
Ho hum... That would allow the unit to run through walls, doodads and all sorts of other crap, not to mention invulnerable aswell...

Anyway... Is it to be a channeling thingy?

Thanks for all the feedback everyone, very much appreciated :)

It's not a channeling skill, I based it off Drunken Haze, for the attack/spell/specials inhibitions, as well as the speed bonus.
 
Status
Not open for further replies.
Top