OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: ste150 on 31 Aug 2002, 19:52:13
-
is the anyway to get a computer on a table?
no matter wot i do the computer allways ends up under the table!
any ideas? :-\
-
type this into the init field of the computer:
this setpos [getpos this select 0, getpos this select 1, (getpos this select 2) +0.9]
that should put it at the right height.... if not, change the 0.9 part to modify the height.
:thumbsup:
-
Or:
this setpos [(getpos this select 0),(getpos this select 1),0.9]
You don't need to write the + it's only to make it clearer.
-
This setPos [GetPos This Select 0, Getpos This Select 1, 1] :hmm:
Screw the (parantheses), this should do it. :-*