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

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