Reply to Re: Immunity to Certain Weapons?
If you don't have an account, just leave the password field blank.
Oh, I forgot that all weapons use the same seq. &cur_weapon can be used.. but only for the default weapon. This does work:
int &t;
if (&cur_weapon == 1)
{
&t = sp_hitpoints(¤t_sprite,-1);
sp_hitpoints(¤t_sprite,0);
wait(1);
wait(1);
sp_hitpoints(¤t_sprite,&t);
}
int &t;
if (&cur_weapon == 1)
{
&t = sp_hitpoints(¤t_sprite,-1);
sp_hitpoints(¤t_sprite,0);
wait(1);
wait(1);
sp_hitpoints(¤t_sprite,&t);
}