@Kira: My method seems to work:
sync on
sync rate 60
autocam off
set text font "Verdana"
set text size 12
rem make player
make object cube 1,3
color object 1,rgb(0,255,0)
rem make enemy
make object cube 2,3
color object 2,rgb(255,0,0)
position object 2,100,100,0
rem make bullet and put it offscreen
make object sphere 3,2
position object 3,99999,99999,99999
rem position camera
position camera 0,0,-400
do
text 0,0, "Press space to make the red cube shoot at the green cube. Use the arrowkeys to move the green cube."
rem control player w/ arrowkeys
position object 1,object position x(1)+2*(rightkey()-leftkey()),object position y(1)+2*(Upkey()-downkey()),object position z(1)
rem press space to have the enemy shoot the bullet
if spacekey()
position object 3,object position x(2),object position y(2),object position z(2)
point object 3,object position x(1),object position y(1),object position z(3)
endif
move object 3,5
sync
loop
Or perhaps I misunderstand the problem. Is he just trying to point the plain at the camera and move it in another direction?
<-- Spell based team dueling game!