Help with moving unit...

0WN3D

New Member
Reaction score
15
Edit:Nvm... Seems liek i overlook a single action that overwrites the variable... Sorry for inconvenience caused... Rly...

I am having problems with moving unit.... I am trying to code a skill where the caster jumps up for 0.5 sec... reaching max height after the 0.5sec and stays there for 1 sec... before coming down towards the target ability being casted for 0.5 sec.... heres my trigger( its messy i know...)
Trigger:
  • Soaring Flames
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Soaring Flames
    • Actions
      • Set SoaringFlamesTarget = (Target point of ability being cast)
      • Set SoaringFlamesCaster = (Casting unit)
      • Set SoaringFlamesCasterLoc = (Position of SoaringFlamesCaster)
      • Set SoaringFlamesDist = (Distance between SoaringFlamesCasterLoc and SoaringFlamesTarget)
      • Set SoaringFlameAngle = (Angle from SoaringFlamesCasterLoc to SoaringFlamesTarget)
      • Unit - Add Crow Form Custom to (Casting unit)
      • Unit - Remove Crow Form Custom from (Casting unit)
      • Animation - Change (Casting unit) flying height to 300.00 at 600.00
      • Custom script: call RemoveLocation(udg_Temp_Point)
      • Wait 0.50 seconds
      • Animation - Change (Casting unit) flying height to 0.00 at 600.00
      • Wait 1.00 seconds
      • Trigger - Turn on Soaring Flames Move <gen>
      • Wait 0.50 seconds
      • Trigger - Turn off Soaring Flames Move <gen>
      • Animation - Play SoaringFlamesCaster's slam animation
        • Custom script: call DestroyGroup(udg_Temp_Group)
      • Custom script: call RemoveLocation(udg_Temp_Point)


Trigger:
  • Soaring Flames Move
    • Events
      • Time - Every 0.05 seconds of game time
    • Conditions
    • Actions
      • Set SoaringFlamesCasterLoc = (Position of SoaringFlamesCaster)
      • Game - Display to (All players) the text: (Name of SoaringFlamesCaster)
      • Set Temp_Point2 = (SoaringFlamesCasterLoc offset by (SoaringFlamesDist / 10.00) towards SoaringFlameAngle degrees)
      • Game - Display to (All players) the text: Temppoint2
      • Unit - Add Crow Form Custom to (Casting unit)
      • Unit - Remove Crow Form Custom from (Casting unit)
      • Unit - Move SoaringFlamesCaster instantly to Temp_Point2
      • Game - Display to (All players) the text: Move
( i know this leaks.... I am jus trying to fix the prob b4 going to fix leaks ^^)( and as you can see there is also Game Messages implented... I am using those to trouble shoot but its no use.... The weird thing is it shows MOVE 1st then followed by the name of the caster then so on)

Any help is appreciated...
 
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