PDA

View Full Version : Placing objects



SantaMania
Oct 28 2002, 07:10
I suddenly cant make it work in 1.85
This is what i use:

lamp setPos [getpos lamp select 0, getpos lamp select 1 + 10]

But it just says: error division by zero.

I also tried just copy and pasting from the commandref:

player setPos [getpos player select 0, getpos player select 1 + 10]

Still division by zero http://www.flashpoint1985.com/ikonboard301/iB_html/non-cgi/emoticons/sad.gif

[CCCP]Stalker
Oct 28 2002, 07:17
Try this:
this setpos [getpos this select 0, getpos this select 1, (getpos this select 2) +?]

SantaMania
Oct 28 2002, 07:28
thx m8!

Maybe BIS should upgrade their comref