The Dink Network

Vision problem

September 29th 2006, 11:15 AM
peasantmb.gif
Lunacre
Peasant He/Him Finland
 
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?
September 29th 2006, 01:50 PM
slimeg.gif
metatarasal
Bard He/Him Netherlands
I object 
Where's the script attached to? You can only change vision from a script attached to a screen (for as far as I remember).
September 29th 2006, 03:33 PM
peasantmb.gif
Lunacre
Peasant He/Him Finland
 
It's attached to a bridge, which is in the screen.
September 29th 2006, 05:12 PM
custom_magicman.gif
magicman
Peasant They/Them Netherlands duck
Mmmm, pizza. 
But it should be "on" the screen, not on a sprite on the screen.

WinDinkEdit: Right-click -> Screen Properties...
DinkEdit: Ctrl+B
September 29th 2006, 06:00 PM
peasantmb.gif
Lunacre
Peasant He/Him Finland
 
Thanks Magicman! It's working now