Flying with Metamorphosis (was: Fix pls)

rongheng

New Member
Reaction score
5
I am trying to make the hero fly there at high speed when in metamorphosis when issued the order move and my trigger does not work...
Have a look:
Trigger:
  • Bankai fly
    • Events
      • Unit - A unit Is issued an order targeting a point
    • Conditions
      • (Unit-type of (Triggering unit)) Equal to Hitsugaya Toshiro (Bankai)
      • (Issued order) Equal to (Order(move))
    • Actions
      • Set Point[1] = ((Position of (Triggering unit)) offset by 20.00 towards (Facing of (Triggering unit)) degrees)
      • Unit - Move (Triggering unit) instantly to Point[1]
      • Custom script: call RemoveLocation(udg_Point[1])


can anyone solve this?
 

Accname

2D-Graphics enthusiast
Reaction score
1,462
I am trying to make the hero fly there at high speed when in metamorphosis when issued the order move and my trigger does not work...
Have a look:
Trigger:
  • Bankai fly
    • Events
      • Unit - A unit Is issued an order targeting a point
    • Conditions
      • (Unit-type of (Triggering unit)) Equal to Hitsugaya Toshiro (Bankai)
      • (Issued order) Equal to (Order(move))
    • Actions
      • Set Point[1] = ((Position of (Triggering unit)) offset by 20.00 towards (Facing of (Triggering unit)) degrees)
      • Unit - Move (Triggering unit) instantly to Point[1]
      • Custom script: call RemoveLocation(udg_Point[1])


can anyone solve this?

1). that trigger leaks a location, (Position of (Triggering Unit)) is a location leak.

2). this trigger will move your unit only once when the order is given, not periodically.

3). i would suggest using a rally point and a periodic trigger, that would be rather easy to implement if you dont mind the rallypoint.
 

Dirac

22710180
Reaction score
147
accname is right, making this wont be easy at all, your trigger wont work cuz every time you right click to move the unit moves 20 units only ¬¬

Isnt setting 522 ms enough to a flyin unit?
 

rongheng

New Member
Reaction score
5
1). that trigger leaks a location, (Position of (Triggering Unit)) is a location leak.

2). this trigger will move your unit only once when the order is given, not periodically.

3). i would suggest using a rally point and a periodic trigger, that would be rather easy to implement if you dont mind the rallypoint.

accname is right, making this wont be easy at all, your trigger wont work cuz every time you right click to move the unit moves 20 units only ¬¬

Isnt setting 522 ms enough to a flyin unit?

Ok, i fixed the location leak and i want a flying unit flying faster than 522ms.
how does the rally point help fix the problem?(im a nub pls explain)

Heres wad i did:
Trigger:
  • Bankai fly
    • Events
      • Time - Every 0.01 seconds of game time
    • Conditions
      • (Owner of Caster) Equal to Player 1 (Red)
      • (Issued order) Equal to (Order(move))
    • Actions
      • Set Point[1] = ((Position of Caster) offset by 24.00 towards (Facing of Caster) degrees)
      • Unit - Move Caster instantly to Point[1]
      • Custom script: call RemoveLocation(udg_Point[1])
      • Set Caster = No unit


Tried the
Trigger:
  • (Issued order) Equal to (Order(smart))
and it still didnt work. I am nubby will triggers and nvr met examples of rally point spells,(i learn all my GUI from examples) so i am thinking whether u would show an example of a rally point spell?
 
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