Rei - What Willie came up with is just perfect. You just need to translate it.
if(rotateLeftButtonPressed())
If the button you want to rotate left is pressed
int amountToMove = 5; //set to move speed desired
moveCameraRight(amountToMove);
Use the command to move camera right (using the amountToMove)
moveCameraForward(amountToMove);
Use the command to move camera forward (using the amountToMove)
pointCameraAtObject(selObj)
Use the command to point the camera at the chosen object (or position)
If you have a problem and want to make a task, then write down with your own words what you want. Try to split it up in parts as much as possible still not using any command but just your own words.
When you have the description then you can start to code the parts in it. You can't just sit and write on your keyboard and then suddenly have a game. I have been there and now Im using weeks for making description for just small programs just to be sure that I have everything
Niels Henriksen
www.tales-of-the-realms.com
if Microsoft can sell software with bugs, so can I.