Hyperspace Help

Xonora

New Member
Reaction score
3
I am doing some kind of hyperspace spell that doesnt work. The spell is supposed to accelerate the caster towards where it is hyperspacing and disappear for 3 seconds before appearing out of the destination and decelerating slowly forwards. But when i activate it, it just warps out all over the place. The disappear was right. Reappearing, no. Slide100 and slide30 are related to my slide trigger. Which is fine.


Here is the trigger.

Trigger:
  • Unit - A unit Starts the effect of an ability
    • (Ability being cast) Equal to Hyperspace [X] (test)
    • Set HyperspaceAngle = (Facing of (Casting unit))
    • Unit - Pause (Casting unit)
    • Selection - Remove (Casting unit) from selection for (Owner of (Casting unit))
    • Unit - Add 100unit slide to (Casting unit)
    • Unit - Remove 100unit slide from (Casting unit)
    • Wait 0.30 seconds
    • Unit - Remove 100slide buff from (Casting unit)
    • Set HyperspacePoint = (Position of (Casting unit))
    • Unit - Create 1 Hyperspace Marker for Neutral Passive at (HyperspacePoint offset by 400.00 towards HyperspaceAngle degrees) facing Default building facing degrees
    • Custom script: call RemoveLocation(udg_HyperspacePoint)
    • Unit - Hide (Casting unit)
    • Wait 3.00 seconds
    • Unit - Unhide (Casting unit)
    • Unit - Move (Casting unit) instantly to (Target point of ability being cast), facing HyperspaceAngle degrees
    • Set HyperspacePoint = (Position of (Casting unit))
    • Unit - Create 1 Hyperspace Marker for Neutral Passive at HyperspacePoint facing Default building facing degrees
    • Custom script: call RemoveLocation(udg_HyperspacePoint)
    • Unit - Add 30unit slide to (Casting unit)
    • Unit - Remove 30unit slide from (Casting unit)
    • Wait 0.30 seconds
    • Unit - Remove 30Slide buff from (Casting unit)
    • Unit - Unpause (Casting unit)
    • Set HyperspacePoint = (Position of (Casting unit))
    • Unit - Order (Casting unit) to Move To (HyperspacePoint offset by 1000.00 towards HyperspaceAngle degrees)
    • Custom script: call RemoveLocation(udg_HyperspacePoint)
    • Selection - Add (Casting unit) to selection for (Owner of (Casting unit))


Thanks in advance
 
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