Unit Mind Control

Jeeyo

New Member
Reaction score
3
I need a spell where the hero can control other units and the control for the units last for the whole game unless the controlled units die

Lv. 1-hero can control melee units(footman,grunt,treant,ghoul)
Lv. 2-hero can control melee and ranged units(rifleman,witchdoctor,druid of the talon,necromancer etc.)
Lv. 3-hero can control melee, ranged and neutral creeps
 

Squishy

You can change this now in User CP.
Reaction score
127
You mean like a targetable spell that can target different units based on the level or a passive ability that gives control of different units around the Hero?
 

NaPzt3R

You can change this now in User CP.
Reaction score
38
Base it of Charm.
Then make a trigger checking if it's the correct unit-type. If not, do nothing.
 

Squishy

You can change this now in User CP.
Reaction score
127
Checking for unit type would require checking every unit type in the game. Doing something like this might be easier
Code:
Trigger
    Events
        Unit - A unit Begins casting an ability
    Conditions
        (Ability being cast) Equal to Your Ability
    Actions
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            If - Conditions
                (Level of Your Ability for (Triggering unit)) Equal to 1
                Or - Any (Conditions) are true
                    Conditions
                        ((Triggering unit) is A ranged attacker) Equal to True
                        ((Target unit of ability being cast) belongs to an enemy of (Owner of (Triggering unit))) Equal to False
            Then - Actions
                Unit - Order (Triggering unit) to Stop
            Else - Actions
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            If - Conditions
                (Level of Your Ability for (Triggering unit)) Equal to 2
                Or - Any (Conditions) are true
                    Conditions
                        ((Target unit of ability being cast) belongs to an enemy of (Owner of (Triggering unit))) Equal to False
            Then - Actions
                Unit - Order (Triggering unit) to Stop
            Else - Actions
 
General chit-chat
Help Users

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top