The Dink Network

Reply to Re: block 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:
 
 
April 25th 2005, 12:06 PM
fish.gif
Simeon
Peasant He/Him Netherlands
Any fool can use a computer. Many do. 
void main(void)
{
if (&story <= 23)
{
sp_touch_damage(&current_sprite, -1);
}
}

void touch(void)
{
say("...text...", 1);
move_stop(1, 2/4/6/8, coordinate, 1);
}

As for your void main(void) scripts, you can have one with if (&story <= 23) and one with if (&story > 23). It doesn't really matter, just remember that the void main(void) part runs when entering the screen so if there are various checks that are true, it'll run them at the same time, which could interfere if both control Dink's text and movement.