Warning: include(/var/www/html/forum/Sources/../../../includes/depot_files/OFPEC_get_header_image.inc.php): failed to open stream: No such file or directory in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 146

Warning: include(): Failed opening '/var/www/html/forum/Sources/../../../includes/depot_files/OFPEC_get_header_image.inc.php' for inclusion (include_path='.:/usr/local/lib/php') in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 146

Notice: Undefined index: OFPEC in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152

Notice: Trying to access array offset on value of type null in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152

Notice: Trying to access array offset on value of type null in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152
    Home   Help Login Register  

Author Topic: Computer On A Table  (Read 1663 times)

0 Members and 1 Guest are viewing this topic.

ste150

  • Guest
Computer On A Table
« 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? :-\

Offline Messiah

  • Honourary OFPEC Patron & Drinking Buddy of Wolfsbane
  • Honoured Contributor
  • ***
  • OFPEC Veteran
    • Project UK Forces
Re:Computer On A Table
« Reply #1 on: 31 Aug 2002, 20:01:54 »
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:
Proud Member of the Volunteer Commando Battalion

T.S.C.Plage

  • Guest
Re:Computer On A Table
« Reply #2 on: 31 Aug 2002, 20:06:58 »
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.

Offline Tomb

  • Contributing Member
  • **
  • in2 Metal? Go 2 my sig
Re:Computer On A Table
« Reply #3 on: 01 Sep 2002, 01:11:22 »




This setPos [GetPos This Select 0, Getpos This Select 1, 1]  :hmm:


Screw the (parantheses), this should do it.  :-*