The Dink Network

Reply to Re: simple stupid question.

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:
 
 
October 2nd 2004, 04:16 PM
pq_frog.gif
Ric
Peasant They/Them Canada
 
If he should dissapear when &story is above a certain #, then you could start your script like this:
void main ()
{
if(&story > 3)
{
sp_active(&current_sprite,0);
}
ect...
or you could use the room script to set the vision one without that sprite.
or if he is there independant of variables, copy the die procedure used it the original scripts. eg;
void die( void )
{
int &hold = sp_editor_num(&current_sprite);
if (&hold != 0)
editor_type(&hold, 6);
&save_x = sp_x(&current_sprite, -1);
&save_y = sp_y(&current_sprite, -1);
external("emake","medium");
}
note* editor type 6 lets that sprite come back in 5 minutes, type 1 will kill it completely.
The external proc. puts a bit of treasure there (located by &save_x and &save_y), so you could delete those last 3 lines if you don't want treasure there.