Unit Control with Metamorphisis?

kla0005

New Member
Reaction score
3
Hey Guys, im having a problem with my metamorphis ability.
Im using it, to make the unit "un-control"-able.

The problem is, when i set the spawned unit-type as a "fly", then War3.exe crashes when im trying to make the unit /:
Im 100% sure, that its because of the metamorphis.

My trigger is:
Trigger:
  • UnitBought
    • Events
      • Unit - A unit enters Team1Spawn <gen>
      • Unit - A unit enters Team2Spawn <gen>
    • Conditions
      • ((Entering unit) is A structure) Equal to False
      • ((Entering unit) is A Hero) Equal to False
      • ((Entering unit) is Summoned) Equal to False
      • ((Entering unit) is Undead) Equal to True
      • Or - Any (Conditions) are true
        • Conditions
          • (Owner of (Entering unit)) Equal to Player 1 (Red)
          • (Owner of (Entering unit)) Equal to Player 2 (Blue)
          • (Owner of (Entering unit)) Equal to Player 3 (Teal)
          • (Owner of (Entering unit)) Equal to Player 4 (Purple)
          • (Owner of (Entering unit)) Equal to Player 5 (Yellow)
          • (Owner of (Entering unit)) Equal to Player 6 (Orange)
          • (Owner of (Entering unit)) Equal to Player 7 (Green)
          • (Owner of (Entering unit)) Equal to Player 8 (Pink)
          • (Owner of (Entering unit)) Equal to Player 9 (Gray)
          • (Owner of (Entering unit)) Equal to Player 10 (Light Blue)
          • (Owner of (Entering unit)) Equal to Player 11 (Dark Green)
          • (Owner of (Entering unit)) Equal to Player 12 (Brown)
    • Actions
      • Set Income[(Player number of (Owner of (Entering unit)))] = (Income[(Player number of (Owner of (Entering unit)))] + (Point-value of (Entering unit)))
      • Unit - Add Unstoppable Order (Metamorphosis) to (Entering unit)
      • Unit - Order (Entering unit) to Night Elf Demon Hunter - Metamorphosis
      • Unit - Remove Unstoppable Order (Metamorphosis) from (Entering unit)
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • Or - Any (Conditions) are true
            • Conditions
              • (Owner of (Entering unit)) Equal to Player 1 (Red)
              • (Owner of (Entering unit)) Equal to Player 2 (Blue)
              • (Owner of (Entering unit)) Equal to Player 3 (Teal)
              • (Owner of (Entering unit)) Equal to Player 4 (Purple)
              • (Owner of (Entering unit)) Equal to Player 5 (Yellow)
              • (Owner of (Entering unit)) Equal to Player 6 (Orange)
        • Then - Actions
          • If ((Random integer number between 1 and 2) Equal to 1) then do (Unit - Move (Entering unit) instantly to (Random point in Team2Spawn1 <gen>)) else do (Unit - Move (Entering unit) instantly to (Random point in Team2Spawn2 <gen>))
        • Else - Actions
          • If ((Random integer number between 1 and 2) Equal to 1) then do (Unit - Move (Entering unit) instantly to (Random point in Team1Spawn1 <gen>)) else do (Unit - Move (Entering unit) instantly to (Random point in Team1Spawn2 <gen>))
 

TomTTT

New Member
Reaction score
44
Just a few tips,
Instead of Entering unit, make it Triggering unit, and don't do 12 Or conditions for this. Just make sure it DOESN'T belong to neutral hostile/passive.
Maybe removing this ability from the unit causes the trouble? Why not just removing this unit and creating another?
 

DioD

New Member
Reaction score
57
TomTTT
try to read thread, he need to disable control on his unit, not other unit.

also unit wont morph, since this is not instant.
 

kla0005

New Member
Reaction score
3
What do you mean with "instant"?

I u mean the Ability it self, then it has been set as a "permanent"
 

DioD

New Member
Reaction score
57
morphing takes some time, if you remove skill right after order, unit wont have any chance to actually morph.
 
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