Reply to dang theese danged faulty scrips....
If you don't have an account, just leave the password field blank.
Sorry about the frequency of theese posts, its just i've forgotton most of what i used to know. anyway, the void die procedure doesent run at all. I think I might also put the other script that leads to it on incase it has something to do with the problem.
Arena.c - this is the room in which the fight happens.
void main(void)
{
if(&gladfight == 1)
{
screenlock(1);
&vision = 1;
say("here goes nothing", 1);
playmidi("f1.mid");
int &bob = create_sprite(460, 220, 7, 390, 1);
say("`3I shall eat you!", &bob);
sp_base_walk(&bob, 390);
sp_frame(&bob, 1);
sp_seq(&bob, 390);
sp_brain(&bob, 9);
sp_speed(&bob, 1);
sp_exp(&bob, 100);
sp_script(&bob, opponent-bob);
sp_base_walk(&bob, 390);
sp_target(&bob, 1);
sp_touch_damage(&bob, 2);
sp_hitpoints(&bob, 10);
sp_dir(bob, 1);
}
}
opponent-bob.c - the script that has the die procedure for bob. its not attached to anything because bobs not in the editor.
void die(void)
{
say("owww, that fellow took a bite out of my arm!", 1);
script_attach(1000);
&player_map = 140;
fade_down();
wait(400);
load_screen();
sp_x(1, 295);
sp_y(1, 370);
sp_dir(1, 2);
draw_screen();
fade_up();
Kill_this_task();
}
Thanks.
EDIT: fellow is actualy funnier than ba*****
Arena.c - this is the room in which the fight happens.
void main(void)
{
if(&gladfight == 1)
{
screenlock(1);
&vision = 1;
say("here goes nothing", 1);
playmidi("f1.mid");
int &bob = create_sprite(460, 220, 7, 390, 1);
say("`3I shall eat you!", &bob);
sp_base_walk(&bob, 390);
sp_frame(&bob, 1);
sp_seq(&bob, 390);
sp_brain(&bob, 9);
sp_speed(&bob, 1);
sp_exp(&bob, 100);
sp_script(&bob, opponent-bob);
sp_base_walk(&bob, 390);
sp_target(&bob, 1);
sp_touch_damage(&bob, 2);
sp_hitpoints(&bob, 10);
sp_dir(bob, 1);
}
}
opponent-bob.c - the script that has the die procedure for bob. its not attached to anything because bobs not in the editor.
void die(void)
{
say("owww, that fellow took a bite out of my arm!", 1);
script_attach(1000);
&player_map = 140;
fade_down();
wait(400);
load_screen();
sp_x(1, 295);
sp_y(1, 370);
sp_dir(1, 2);
draw_screen();
fade_up();
Kill_this_task();
}
Thanks.
EDIT: fellow is actualy funnier than ba*****