Nice work. But you can set the camera angle by:-
CameraSetXYZ(x,y,z)
CameraLookAtXYZ(x,y,z)
If you can do this. It will be cool.
function F_CameraSwitch()
while true do
if IsButtonBeingPressed(BUTTON,0) then -- 0 is the first controller
TextPrintString("Camera sets here.. blablabla..",4,1) -- You can add this if you want
CameraSetXYZ(x,y,z) -- The first camera angle
CameraLookAtXYZ(x,y,z) -- This sets where the camera will look at
elseif IsButtonBeingPressed(BUTTON,0) then
TextPrintString("Camera sets here ..whatever this will be",4,1) -- You can add this too
CameraSetXYZ(x2,y2,z2) -- This is the second one
CameraLookAtXYZ(x,y,z)
end
Wait(0)
end
end
function main()
F_CameraSwitch()
end
You can do this if you'd like.