• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Slide Trigger, (A Fix... Please help)

Status
Not open for further replies.
Level 6
Joined
Sep 15, 2006
Messages
136
Hi, I'm doing an escape/maze and I'm with the slide trigger, I do some, but I'm lost now, please tell me the action that should do the picked units when them are on ice and alive, it's Move picked unit instantly to ***What???****, xD please help...
 
Level 14
Joined
Nov 4, 2006
Messages
1,241
  • Set temppoint1 = position of picked Unit
  • Set tempPoint2 = (tempPoint1 offset by (speedMultiplier x (((Current movement speed of picked Unit) x 1.00) / (Default movement speed of picked Unit))) towards (Facing of picked Unit) degrees)
  • Unit - move picked Unit instantly to temppoint2
you still have to remove the temppoints and also do the turn things, also manage the events
 
Level 12
Joined
Apr 27, 2008
Messages
1,228
Um ... lol
(speedMultiplier x (((Current movement speed of picked Unit) x 1.00) / (Default movement speed of picked Unit)))
Why not
(((Current movement speed of picked Unit) x speedMultiplier) / (Default movement speed of picked Unit))
 
Status
Not open for further replies.
Top