OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Dr. Egg on 06 Apr 2003, 20:43:34

Title: Height command
Post by: Dr. Egg on 06 Apr 2003, 20:43:34
hi,

being me i have managed to forget the set height command, ::)

go me.... :-\


i remember it as being quite a long ass command but if u guys wouldent mind just refreshing my memory i would be most grateful,  

many thanks

Dr. Egg
Title: Re:Height command
Post by: Flapje on 06 Apr 2003, 20:45:35
actually, it's one of the shortest commands ;) this flyinheight blablabla

or do you mean setpos?
this setpos [getpos this select 0, getpos this select 1, height]
Title: Re:Height command
Post by: macguba on 06 Apr 2003, 20:45:54
chopper1 flyinheight 120
Title: Re:Height command
Post by: Dr. Egg on 06 Apr 2003, 20:47:08
yeah
this setpos [getpos this select 0, getpos this select 1, height]
thas the one i got

but do you put the heihgt in here;

this setpos [getpos this select 0, getpos this select 1, height 1000]??

many thanks,
egg
Title: Re:Height command
Post by: Flapje on 06 Apr 2003, 20:48:03
just 1000 if you want him at 1000m
Title: Re:Height command
Post by: Dr. Egg on 06 Apr 2003, 20:49:41
k,


many thanks to you guys,

now i cn go and send that car to HELL

MUAHAHAHAAAAAAAAAAa

egg

ahem


p.s

SOLVED
Title: Re:Height command
Post by: Dr. Egg on 06 Apr 2003, 20:52:50
errr,

slight problem.....


this setpos [getpos this select 0, getpos this select 1, height 1000]

dont work
gotta be somat wrong with it,

plz help....

or ill post on a seperate topic, whatever turns you on,
egg
Title: Re:Height command
Post by: Flapje on 06 Apr 2003, 20:54:27
it's not this setpos [getpos this select 0, getpos this select 1, height1000] but just this setpos [getpos this select 0, getpos this select 1, 1000]

and maybe 1000 is too high, I never tried
Title: Re:Height command
Post by: Dr. Egg on 06 Apr 2003, 20:56:00
k ill jus run that through the comp
Title: Re:Height command
Post by: Dr. Egg on 06 Apr 2003, 20:58:24
right!

it WORKS!!!!!!!!!!!!!

cheers  ;D
im happy now



thanks mate,
l8tr


egg (wanna see if that glow thing works)