OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: MatthewKN on 06 Jun 2003, 19:08:31
-
How do I place an object (like a telephone, computer, or radio) on top of a table.
-
place the object exactly over the table and then in the (e.g) phone's init line type:
this setpos [getpos this select 0, getpos this select 1, (getpos this select 2) +0.9]
+0.9 is the height increase.... fiddle with this to get the right height, but if memory serves me correctly, then this is about the right height.
-
I found that the exact height for placing things on tables is more like 1.04 :gunman:
-
I think it all depends on the height of the ground the table is sitting on.
Planck
-
indeed - and it can change from version to version - last time i placed an object on a desk was like 1.46 ::)