Warcraft III resources & community, 2003–2006 · archived

How to make a unit slide like in Polar Escape?

10 posts
#1

How to make a unit slide like in Polar Escape?

Hi!

1st. Sorry for dubblepost but nobody has asked.
2nd. I want to know how the unit slides like in Polar Escape and that I could control their slide.
3rd. I know that WE-Unlimited has the slide-action but this slide has not a timer for the slide =/

thanks for help :roll:
#2
(crappy GUI version, but u wouldnt understand the JASS one)

Events
Every 0.01 seconds of game time
Conditions
(none)
Actions
Custom Script - set bj_wantDestroyGroup = true
Unit Group - Pick Every Unit of Type xxx and do actions
loop - actions
set a = position of picked unit
if Terrain Type at position of picked unit equal to (your ice) then
set b = Polar offset of a by (1-5, depends on speed) towards facing of picked unit
Unit - Move Picked Unit to b
Custom Script - call RemoveLocation( udg_b )
(end of the if/then)
Custom Script - call RemoveLocation( udg_a )
(end of unit group loop)
-----------------------------------------------------

there you are!
#3
PurplePoot
Every 0.01 seconds of game time


nasty
#4
Okay thanks I will take a look at this trigger if it is what I want. :wink:
#5
Where is the if terraintype etc? :cry: :oops:
#6
hmm? haloboy, what do you suggest? TriggerSleepAction ( oops, i mean Wait ) xD hhahahahahahaha very funny.

oh, dhk, its an if/then/else, thats condition is a type Terrain Type Comparison.
#7
I Don't have that CONDITION :( Please make a jass code so I can add it in the WE-Unlimited EditoR!!
#8
hmm... do you have the newest wc3 patch? (though i think it has been around forever). and are the func names in German or English?
#9
In english...
Wc3 TFT is on the newest patch...
What do I wrong? :cry:
#10
all i know is there should be a condition called Terrain Type Comparison