HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Flying Height

07-15-2005, 05:01 PM#1
ElvinArcher123
Ok... For the past few days ive been working on a soccer game.(i know there already are some) but anways. I've been working on the phyiscs and ive gotten all the variables to set right when the ball bounces... but it wont fly. i based the ball off of a flying sheep and removed wander.
Code:
Set Height
    Events
        Time - Every 0.20 seconds of game time
    Conditions
    Actions
        Animation - Change ball 0003 <gen> flying height to h at 0.10
and i know that h is being set because I have a HUD of all the variables during the game.... >.< evil world editor
07-15-2005, 05:04 PM#2
Belphegor666
Did you give to the ball the Crow Form?
Only units with Crow Form (Medivh) can change heights or so I heard.
07-15-2005, 05:22 PM#3
TheGreatCheese
if the movement type of the unit is ground then you have edit a metamorphasis ability or like Belphegor said crow form, set the ability so its alternet form is a flying type unit. All you have to do then is give the unit the ability and remove it. and u'll be able to change its height.

if the units movement type is set to air, u have to have its movement speed set to any number greater then 0, if its zero the unit won't change hieght

hope this help!
07-15-2005, 05:27 PM#4
ElvinArcher123
ehh.. i based it off flying sheep... keyword being FLYING.. doesnt that mean that if i dont edit anything itll already be able to fly >.<?
07-15-2005, 05:32 PM#5
TheGreatCheese
Quote:
Originally Posted by ElvinArcher123
ehh.. i based it off flying sheep... keyword being FLYING.. doesnt that mean that if i dont edit anything itll already be able to fly >.<?


ok i guess that was kinda stupid, whats the units speed set to?

btw nice mech model
07-15-2005, 07:31 PM#6
shadow1500
the rate is how much height is added/subtracted every second, in ur trigger it wud take 10 seconds for the ball to change from 75 to 76....
make rate 9999999 for instand change.
07-17-2005, 10:53 PM#7
ElvinArcher123
oops slow response.. ok the speed is fine i know that much. Oh shadow.. i thought it was like with camera rate where it would take .1 seconds to complete the thing. thats what i read in another thread. Thanks for that info. Ill try that