Vision problem
The problem is that I can't change the vision. I've tried almost everything, but the game still won't change vision. Here's the script I'm using:
void main(void)
{
if (&story == 0)
{
&vision = 1;
freeze(1);
move_stop(1, 4, 346, 1);
wait(300);
say_stop("Blaa...", 1);
wait(300);
sp_dir(1, 2);
say_stop("Blaa blaa...", 1);
wait(300);
sp_dir(1, 4);
say_stop("Blaa blaa...", 1);
wait(300);
sp_dir(1, 6);
say_stop("Blaa blaa...", 1);
&story = 1;
unfreeze(1);
}
}
So what am I doing wrong?
void main(void)
{
if (&story == 0)
{
&vision = 1;
freeze(1);
move_stop(1, 4, 346, 1);
wait(300);
say_stop("Blaa...", 1);
wait(300);
sp_dir(1, 2);
say_stop("Blaa blaa...", 1);
wait(300);
sp_dir(1, 4);
say_stop("Blaa blaa...", 1);
wait(300);
sp_dir(1, 6);
say_stop("Blaa blaa...", 1);
&story = 1;
unfreeze(1);
}
}
So what am I doing wrong?
Where's the script attached to? You can only change vision from a script attached to a screen (for as far as I remember).
But it should be "on" the screen, not on a sprite on the screen.
WinDinkEdit: Right-click -> Screen Properties...
DinkEdit: Ctrl+B
WinDinkEdit: Right-click -> Screen Properties...
DinkEdit: Ctrl+B