• 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.
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!
  • ✅ The POLL for Hive's Texturing Contest #34 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!
  • ✅ The POLL for Hive's Techtree Contest #20 is OPEN! Vote for the TOP 3 FACTIONS! 🔗Click here to cast your vote!

[Spell] Turning off attack and abilities

Status
Not open for further replies.
Level 22
Joined
Feb 23, 2015
Messages
243
Hi guys
Is there any way to turn off unit's attack and ALL abilities via GUI? I'm making spell that's works like Adept's teleportation in Starcraft. Spell creates immortal copy of caster that can only move and after some time caster is teleported to it's location. I can make copy a different unit in object editor, but I wanted to make it 100% in gui - spell creates unit of caster's type in caster's location, removes it's spells and attacks and makes it immortal. Problem is that I found a way to remove single specific ability, but no way to turn off all or remove attack. Can you help me?
 
You can give the unit Orc burrow - cargo hold ability with 0 capacity. It will disable the attack ability. You can prevent spellcasting with

Unit begins casting an ability
->Pause triggering unit
->Order triggering unit to stop
->Unpause triggering unit

Alternatively, Silence spell can disable spells and attacks, but the silence buff can be removed. If there is no buff removing in your map, you could use that.
 
Status
Not open for further replies.
Back
Top