Home   Help Search Login Register  

Author Topic: how to elevate objects  (Read 514 times)

0 Members and 1 Guest are viewing this topic.

Offline punisher

  • Members
  • *
how to elevate objects
« on: 14 Dec 2002, 21:47:06 »
well its all in the question!
please make it not complicated as i have just basic knoledge of codes
The Gimp clan- pushing the limits of OFP
http://www.youtube.com/user/Pigdogmeat

Captain Winters

  • Guest
Re:how to elevate objects
« Reply #1 on: 14 Dec 2002, 21:52:55 »
Use this in th object's init:

this setpos[(getpos this select 0),(getpos this select 1),0.75]

where 0.75 is the height you want the object!  ;D
_______________________________
_______________________________
Capn' Winters Out!

Kaliyuga

  • Guest
Re:how to elevate objects
« Reply #2 on: 14 Dec 2002, 21:55:16 »
Place this in the init field of an object

this setpos [getpos this select 0, getpos this select 1,x]

where x is the number of meters above ground you want the object to be