Reply to what is wrong with this script
If you don't have an account, just leave the password field blank.
Can anyone tell me what is wrong with this script?
The script is attached to the first screen dink starts.
The phoenix has to come up in the west then fly to the screen to the east. Then dink must be warped to screen 2. PLEASE HELP??? THis is the first script I make and I am already stuck that sucks.
//phoenix
void main( void )
{
int &phoenix;
&phoenix = create_sprite( -500, 150, 9, 996, 1)
sp_sound(&phoenix, 50);
sp_brain(&phoenix, 9);
sp_speed(&phoenix, 2);
sp_base_walk(&phoenix, 980);
sp_timing(&phoenix, 0);
sp_pseq(&phoenix, 980);
sp_pframe(&phoenix, 1);
freeze(1);
&story = 1;
move_stop(&phoenix, 1150, 6, 1)
wait(100);
say_npc("What was that, Where am I ?????",1)
wait(100);
//move dink
script_attach(1000);
fade_down();
fill_screen(0);
&player_map=2;
sp_x(1, 325);
sp_y(1, 385);
load_screen();
draw_screen();
draw_status();
fade_up();
kill_this-task();
return;
}
I have also another question. I know and I used a script that has the spawn line in it.
It has 3 or 4 lines and the script starts with if &story=1 spawn en-phoenix.
Does anyone has that script for me I can't find it.
The script is attached to the first screen dink starts.
The phoenix has to come up in the west then fly to the screen to the east. Then dink must be warped to screen 2. PLEASE HELP??? THis is the first script I make and I am already stuck that sucks.
//phoenix
void main( void )
{
int &phoenix;
&phoenix = create_sprite( -500, 150, 9, 996, 1)
sp_sound(&phoenix, 50);
sp_brain(&phoenix, 9);
sp_speed(&phoenix, 2);
sp_base_walk(&phoenix, 980);
sp_timing(&phoenix, 0);
sp_pseq(&phoenix, 980);
sp_pframe(&phoenix, 1);
freeze(1);
&story = 1;
move_stop(&phoenix, 1150, 6, 1)
wait(100);
say_npc("What was that, Where am I ?????",1)
wait(100);
//move dink
script_attach(1000);
fade_down();
fill_screen(0);
&player_map=2;
sp_x(1, 325);
sp_y(1, 385);
load_screen();
draw_screen();
draw_status();
fade_up();
kill_this-task();
return;
}
I have also another question. I know and I used a script that has the spawn line in it.
It has 3 or 4 lines and the script starts with if &story=1 spawn en-phoenix.
Does anyone has that script for me I can't find it.






