But using it or not that doesen`t make a diference.Here is my code:
sync on : sync rate 60
set display mode 1280,1024,32,1
backdrop off
set image colorkey 255,255,0
load image "Media\Stars\polaroid_masked_1.bmp",1
make camera 1
make object plain 1,10,10
position object 1,0,0,1000
texture object 1,1
set object 1,1,1,0,1,0
scale object 1,1000,1200,0
`lock object on 1
make object cube 2,50
position object 2,200,0,500
do
text 0,0,"selected_object: "+str$(selected_object)
selected_object = pick object(mousex(),mousey(),1,2,0)
if selected_object>0
z=z+5
rotate object selected_object,x,y,wrapvalue(z)
endif
control camera using arrowkeys 1,10,1
sync
loop
I think everything should work as it is now but maybe i`m missing something, it works for the cube.Lock on is remended and pick object`s last argument is set to 0.
Where there is a will, there is a way.
I often edit my posts, that`s who i am