im sure there must be other people who have asked this, try searching but...
i would think that if you already have the sliding trigger and you want to be able to turn you would need to just have a unit group variable called like sliders for example and when a unit is sliding add that unit to that group then on a turning trigger have, event - a unit is issued an order with no target
condition - triggering unit is in sliders
action - set temploc = target
- unit order triggering unit to face target instantly
im guessing, im not sure that would work it just seems like it would for me
((Triggering unit) is in Sliders) Equal to True
Trigger:
- Slide
- Events
- Time - Every 0.03 seconds of game time
- Conditions
- Actions
- Set TempGroup = (Units of type Peasant)
- Unit Group - Pick every unit in TempGroup and do (Actions)
- Loop - Actions
- Set TempPoint = (Position of (Picked unit))
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- (Terrain type at TempPoint) Equal to Icecrown Glacier - Ice
- Then - Actions
- Set Temp_Location = ((Position of (Picked unit)) offset by 10.00 towards (Facing of (Picked unit)) degrees)
- Unit - Move (Picked unit) instantly to Temp_Location
- Custom script: call RemoveLocation(udg_Temp_Location)
- Else - Actions
- Custom script: call RemoveLocation(udg_TempPoint)
- Custom script: call DestroyGroup(udg_TempGroup)
Trigger:
- action - set temploc = target
Trigger:
- Master Turn Unit
- Events
- Unit - A unit Is issued an order targeting an object
- Conditions
- (Unit-type of (Triggering unit)) Equal to Peasant
- (Terrain type at (Position of (Triggering unit))) Equal to Northrend - Ice
- Or - Any (Conditions) are true
- Conditions
- (Unit-type of (Target unit of issued order)) Equal to Peasant
- Actions
- Unit - Order (Triggering unit) to Stop
- Unit - Move (Triggering unit) instantly to (Position of (Triggering unit)), facing (Position of (Target unit of issued order))