Home   Help Search Login Register  

Author Topic: Raise or Lower Building  (Read 1233 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: