Reply to Re: Sprite Problem
If you don't have an account, just leave the password field blank.
If you just create the sprite with this script and then, right after the creation put this line:
sp_script(&slayer, "slayer");
Now you can copy the whole dialogue thing, as well as the hit and the die proc to a script called slayer.c and things will work.
Reason for this is that the hit( void ) and the die( void ) aren't attached to the slayer, but to the screen. Screens can't die and cannot get hurt, so these procedures will never activate.
sp_script(&slayer, "slayer");
Now you can copy the whole dialogue thing, as well as the hit and the die proc to a script called slayer.c and things will work.
Reason for this is that the hit( void ) and the die( void ) aren't attached to the slayer, but to the screen. Screens can't die and cannot get hurt, so these procedures will never activate.