OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: illmatic on 27 Apr 2004, 17:32:57

Title: Tank hovering
Post by: illmatic on 27 Apr 2004, 17:32:57
im wanting to make a tank drop down a series of heights, prob is i need to somehow make the tank stay still in the air and not fall down for a number of seconds, ive seen it done be4..... and i no its not by just doing

#loop
This setpos [(getpos this select 0),(getpos this select 1), 80]
~0.1
goto"loop"


any ideas??
Title: Re:Tank hovering
Post by: illmatic on 27 Apr 2004, 18:11:08
ok i sorted, tho ofp gravity builds up so when the heights are finished, the tank drops down like a big magnet
Title: Re:Tank hovering
Post by: Raptorsaurus on 27 Apr 2004, 21:45:26
Do you want the tank to hover or drop slowly?  If you want to control its falling after the hovering ends, use the setvelocity command to control its downward movement.