Reply to Re: death
If you don't have an account, just leave the password field blank.
uhhh... ... ...
Do you mean this:
int &clife = sp_hitpoints(¤t_sprite, -1);
if (&clife == 10);
{
//the sprite with this script has 10 hp
}
Note: You can return values when using -1.
int &dinkhp = sp_hitpoints(1, -1);
int &spritespeed = sp_speed(¤t_sprite, -1);
Do you mean this:
int &clife = sp_hitpoints(¤t_sprite, -1);
if (&clife == 10);
{
//the sprite with this script has 10 hp
}
Note: You can return values when using -1.
int &dinkhp = sp_hitpoints(1, -1);
int &spritespeed = sp_speed(¤t_sprite, -1);