Hero Place Swap Ability Help Wanted

Quauhtli

I have the right to remain silent.
Reaction score
62
I want to make a swap ability for one of my heroes. It acts as following:

You, a hero with this ability, select a target friendly hero (owned by yourself or by a friendly player, not by a computer), and then you channel a spell for 6/4/2 seconds. The hero can be anywhere on the map, but you must ofcourse see him. This does not work when in combat.

I am pretty sure that this is possible, but I am not totally sure how to make some of the stuff.
Anyone got any ideas?
 

LordOglog

New Member
Reaction score
16
Try this:
Code:
Swap Spell
    Events
        Unit - A unit Begins channeling an ability
    Conditions
        ((Ability being cast) Equal to Swap ) and (((Target unit of ability being cast) is A Hero) Equal to True)
    Actions
        Set CastingPoint = (Position of (Triggering unit))
        Set TargetPoint = (Position of (Target unit of issued order))
        Unit - Move (Triggering unit) instantly to TargetPoint
        Unit - Move (Target unit of issued order) instantly to CastingPoint
 

Metov

New Member
Reaction score
4
use a dummy ability that designates the hero (ie use Faerie Fire) and give it no seen effect, but a casting time. then use the trigger 'a unit starts the effect of an ability', then use LordOglog's method, although you may want to set the ability to only target allied heroes
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top