Warcraft III resources & community, 2003–2006 · archived

How does one cause a unit to "slide"?

5 posts
#1

How does one cause a unit to "slide"?

in maps like maze of sliding bunnies and polar escape, units slide on ice. how is that done? thanks in advance.
#2
some1 asked the same some days ago, for my way u need rects on the terrain though

Events
Time - Every 0.05 seconds of game time
Conditions
Actions
Unit Group - Pick every unit in (Units in 'a region placed on ice'((((Matching unit) is A ground unit) Equal to True) and (((Matching unit) is alive) Equal to True))) and do (Actions)
Loop - Actions
Unit - Move (Picked unit) instantly to ((Position of (Picked unit)) offset by ((Current movement speed of (Picked unit)) / 20.00) towards (Facing of (Picked unit)) degrees)
Animation - Play (Picked unit)'s walk animation
#3
thanks, i'll give it a shot
#4
1) DONT use the walk anim

2) clean up the leaks

3) dont necessairily slide by Move Speed --- that it unrealistic
#5
1) thats ok

2) yea i forgot to write that, but i dont clean up leaks if the game doesnt take longer then 5 hours anway, u rly wont c the difference if its less then a 5 hour game

3) ofcourse u must do it by movespeed. in real life, a guy that runs on ice slides farther then some1 that walks on ice