Home
Intel Depot
Editors Depot
Missions Depot
Addons Depot
Forum
Home
Help
Search
Login
Register
OFPEC Forum
»
Editors Depot - Mission Editing and Scripting
»
OFP - Editing/Scripting General
(Moderators:
h-
,
savedbygrace
,
Gruntage
) »
how to elevate objects
« previous
next »
Send this topic
Print
Pages: [
1
]
Go Down
Author
Topic: how to elevate objects (Read 514 times)
0 Members and 1 Guest are viewing this topic.
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
Logged
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!
Logged
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
Logged
Send this topic
Print
Pages: [
1
]
Go Up
« previous
next »
OFPEC Forum
»
Editors Depot - Mission Editing and Scripting
»
OFP - Editing/Scripting General
(Moderators:
h-
,
savedbygrace
,
Gruntage
) »
how to elevate objects
Top of page