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: [ solved ]How to add a level building?  (Read 1821 times)

0 Members and 1 Guest are viewing this topic.

Offline UH60MG

  • Members
  • *
[ solved ]How to add a level building?
« on: 26 Jun 2008, 19:36:34 »
Is there a way to add a building object to a mission that does not align itself to uneven ground but to the horizontal?
« Last Edit: 26 Jun 2008, 23:35:32 by UH60MG »

Offline loki72

  • Former Staff
  • ****
    • Loki's Nightmare
Re: How to add a level building?
« Reply #1 on: 26 Jun 2008, 23:24:20 »
greetings,

in the buildings init:

Code: [Select]
this setpos [getpos this select 0, getpos this select 1,((getpos this select 2) + 0)]; this setVectorUp [0,0,+0.1]
 :)

Offline UH60MG

  • Members
  • *
Re: How to add a level building?
« Reply #2 on: 26 Jun 2008, 23:35:15 »
I didn't think it was possible, thanks.