The Dink Network

Reply to Re: min lilla skript

If you don't have an account, just leave the password field blank.
Username:
Password:
Subject:
Antispam: Enter Dink Smallwood's last name (surname) below.
Formatting: :) :( ;( :P ;) :D >( : :s :O evil cat blood
Bold font Italic font hyperlink Code tags
Message:
 
 
July 13th 2004, 04:40 PM
custom_king.png
redink1
King He/Him United States bloop
A mother ducking wizard 
Did you do a wait(1) in the base script? When a base script is first run, it is ran before any sprites are placed on the screen. This is why you can only change the vision in the base script; if you change it anywhere else the sprites have already been placed on the screen, and changing the vision affects nothing.

I usually do something like this for a base script:

void main(void)
{
//Change visions
if (&story < 5)
{
&vision = 1;
}

//Wait for the sprites to be drawn
wait(1);

//Do other stuff
if (&vision == 1)
{
sp_seq(&flow, 156);
}
}