Slide Trigger won't turn

mastah_

New Member
Reaction score
5
ok found a slide trigger step by step guide and when i try it out i can slide except i don't turn/allow changin of directions it just moves the unit the same direction it came on...
now do i need antoher trigger or is there a way to edit my current one to allow turnin?

trigger:

Code:
slide
    Events
        Time - Every 0.03 seconds of game time
    Conditions
    Actions
        Set slideug[0] = (Units in (Playable map area) matching ((((Owner of (Matching unit)) controller) Equal to User) and ((Terrain type at (Position of (Matching unit))) Equal to Northrend - Ice)))
        Unit Group - Pick every unit in slideug[0] and do (Actions)
            Loop - Actions
                Set IceTempPt[0] = (Position of (Picked unit))
                Unit - Move (Picked unit) instantly to (IceTempPt[0] offset by 11.00 towards (Facing of (Picked unit)) degrees)
        Custom script:   call DestroyGroup (udg_slideug[0])
        Custom script:   call RemoveLocation(udg_IceTempPt[0])
 

Slapshot136

Divide et impera
Reaction score
471
add something that detects when a move order is issued, and then adjust the facing of the unit accordingly
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      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