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: Raise or Lower Building  (Read 1515 times)

0 Members and 1 Guest are viewing this topic.

bob

  • Guest
Raise or Lower Building
« on: 28 Aug 2002, 23:13:47 »
Have the editor addon pack and sometimes the building steps are too high and the player just enters the graphic.

Is there a simple script that allows to "SetPos" or whatever of the Y Axis (Up/down) of the building?

Thx!

P.S.  I understand the x,y,z axis' in the game are different than normal specs...true?

Kaliyuga

  • Guest
Re:Raise or Lower Building
« Reply #1 on: 29 Aug 2002, 02:35:02 »
In order to sink yer building a little you'll need this syntax...
placed in the building's init field....

this setpos [getpos this select 0, getpos this select 1,x]

where x = meters above ground (of course you can use negative numbers to sink objects... you can also be very exact... i've used numbers out to the third or fourth decimal place for my x values to get it just right ;) )
as far as the x,y,z coordinates  goes...   x and y refer to points along the E/W and N/S axes of the map , I believe.. and the z value is what is used to calculate height above ground...

You can also check out the thread in setpos creations regarding the setpos command.. I went a little more into detail on that one ;) :toocool: