I did the following:
I define the View in my main.c:
VIEW* camera1 =
{
pos_x = 0;
pos_y = 0;
size_x = 200;
size_y = 200;
layer = 5;
flags = SHOW (or VISIBLE - ive tryed both)
}
If i start the script, the camera1 is shown. I can deactivate it by reset(camera1, VISIBLE) and camera1.flags &= ~VISIBLE (or with SHOW both works).
But i cant activate it again with set(camera1, SHOW) - or VISIBLE and the other code.
EDIT:
After starting the script, both cameras are shown.
Last edited by Schmerzmittel; 08/01/09 10:50.