The Dink Network

Reply to Help me!!!!! Again...

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 22nd 2006, 04:25 PM
knightgl.gif
CastMan
Peasant He/Him Brazil
Some day I'll finish my mod... Some day... 
I want to know why this variable doesn't works!

___________________________________________________________________
//this script fills life up, touch_damage must be set to -1. (run script mode)

int &secret;

void main( )
{
sp_pseq(&current_sprite, 163);
sp_frame(&current_sprite, 4); //so the seq will start
// sp_brain(&current_sprite, 0);
sp_touch_damage(&current_sprite, -1);
sp_nohit(&current_sprite, 1);

//create shiny thingie
&save_x = sp_x(&current_sprite, -1);
&save_y = sp_y(&current_sprite, -1);
&save_y += random(5,1);
int &startframe = random(5,1);
int &spark = create_sprite(&save_x, &save_y, 15, 165, 1);
sp_seq(&spark, 165);
sp_nohit(&spark, 1);
sp_frame(&spark, &startframe);
sp_brain_parm(&spark, &current_sprite);

}

void touch( void )
{
sp_brain_parm(&current_sprite, 10);
sp_brain(&current_sprite, 12);
sp_touch_damage(&current_sprite, 0);
sp_timing(&current_sprite, 0);

if (&secret == 0)
{
say_stop(" Secret 1", 1);
&secret += 1;
}

if (&secret == 1)
{
say_stop(" Secrets 2", 1);
&secret += 2;
___________________________________________________________________

Please someone help me!! Again...