The Dink Network

Reply to Re: sprites-editor\sprites-script

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:
 
 
November 21st 2005, 11:17 AM
fish.gif
Simeon
Peasant He/Him Netherlands
Any fool can use a computer. Many do. 
To only display the sprites in vision 1 when, for example, &story <= 5, do this:

First place the sprites in the editor in vision 1. Then make a script and attach it to that screen:

void main(void)
{
if (&story <= 5)
{
&vision = 1;
}
kill_this_task();
}

You should also create a script and attach it to a sprite on the screen with:

void main(void)
{
if (&story > 5)
{
// create_sprite(bla...);
// create_sprite(bla...);
}
}