The Dink Network

scripting trouble

May 10th 2004, 01:03 PM
pq_skull.gif
Drake
Peasant He/Him
 
for some reason, i can't change the vision through a script. Can anyone help me?
May 10th 2004, 01:14 PM
custom_magicman.gif
magicman
Peasant They/Them Netherlands duck
Mmmm, pizza. 
You must change the vision before the sprites are drawn. This means you should change it in the screen's script, like this:

void main( void )
{
if (&condition == 1)
{
&vision = 1;
}
}

There's no other way I know you can change the vision. But I don't know how force_vision(); works... IF it works, cause it never did for me.
May 10th 2004, 01:49 PM
spike.gif
You have to change it in the base script of a screen.