1. Updated Resource Submission Rules: All model & skin resource submissions must now include an in-game screenshot. This is to help speed up the moderation process and to show how the model and/or texture looks like from the in-game camera.
    Dismiss Notice
  2. DID YOU KNOW - That you can unlock new rank icons by posting on the forums or winning contests? Click here to customize your rank or read our User Rank Policy to see a list of ranks that you can unlock. Have you won a contest and still havn't received your rank award? Then please contact the administration.
    Dismiss Notice
  3. Don’t forget to sign up for the Hive Cup. There’s a 555 EUR prize pool. Sign up now!
    Dismiss Notice
  4. The Hive Workshop Cup contest results have been announced! See the maps that'll be featured in the Hive Workshop Cup tournament!
    Dismiss Notice
  5. Units have been turned into heroes in our latest Icon Contest! Vote for the best icon set at the Icon Contest #18 Poll!
    Dismiss Notice
  6. The poll for Hive's 12th Concept Art Contest is up! Go cast your vote for your favourite genie!
    Dismiss Notice
  7. The raddest synthwave tracks were chosen - Check out our Music Contest #12 - Results and congratulate the winners!
    Dismiss Notice
  8. Check out the Staff job openings thread.
    Dismiss Notice
Dismiss Notice
60,000 passwords have been reset on July 8, 2019. If you cannot login, read this.

[Spell] Turning off attack and abilities

Discussion in 'World Editor Help Zone' started by MatiS, Jul 5, 2015.

  1. MatiS

    MatiS

    Joined:
    Feb 23, 2015
    Messages:
    208
    Resources:
    29
    Models:
    27
    Packs:
    2
    Resources:
    29
    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?
     
  2. Maker

    Maker

    Joined:
    Mar 6, 2006
    Messages:
    9,193
    Resources:
    17
    Maps:
    2
    Spells:
    14
    Tutorials:
    1
    Resources:
    17
    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.
     
  3. MatiS

    MatiS

    Joined:
    Feb 23, 2015
    Messages:
    208
    Resources:
    29
    Models:
    27
    Packs:
    2
    Resources:
    29
    Thanks, I'm gonna try it :D. There are destroyers in the map, so I'm gonna do it via triggers. Thanks again :D.