HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Triggering Movement Type?

01-03-2004, 10:52 AM#1
cangrejo
Is there any function to change movement type for a unit? I'm trying to make a leap attack animation for a unit so I need to change the movement type to flying (to be able to change movement height..)emote_confused

Edit: JASS is also ok. figure i have to learn it anyway...
01-03-2004, 11:24 AM#2
Evil-Tormenter
I dunno how to change the movement type, but maybe you could set the unit's movement to hover at a height of 0.00. Then you can change that value to make the unit leap.
01-03-2004, 03:09 PM#3
th15
i think the accepted method to accomplish this is hiding the originakl unit and replacing with a flying unit of the same type.
01-06-2004, 07:27 PM#4
sniper1006
well..cant you change the interpolated height of the unit..i forget id have to check but ive seen this done...you can also put in a physics formula..i dont know it but i could get you to someone that does...if your on azeroth
01-06-2004, 07:54 PM#5
Arohk
im not sure, but whit the locust abilitya unit can run everywhere, i gave it some units in my map to make them unselectable and they ran over cliffs o.O
01-06-2004, 07:59 PM#6
sniper1006
ya..its under animation

animation - change units flying height
01-06-2004, 08:02 PM#7
SoulReaver
You can change the units animation or simply replace it with a unit of the same type.

I suggest you replace it.
01-06-2004, 08:02 PM#8
Arohk
Quote:
Originally posted by sniper1006
ya..its under animation

animation - change units flying height


that dont change the movement type of a unit (or do it?)
01-06-2004, 08:07 PM#9
SoulReaver
It dont
01-06-2004, 08:07 PM#10
sniper1006
Edited: nvm changed my mind
01-06-2004, 08:08 PM#11
SoulReaver
Quote:
Originally posted by sniper1006
well why would u need to change the type as long as it looks and performs what you want it to do...but just go along with the replace method to be safe


Beacuse if you had a unit that only attacks air it wouldnt be able to target the unit!