Reply to Re: add_exp display issue
If you don't have an account, just leave the password field blank.
I don't know if this will help, but you could use a small trick, to avoid using the sp_exp command.
int &monsterx = sp_x(&missile_target,-1);
int &monstery = sp_y(&missile_target,-1);
int &bang = create_sprite(&monsterx,&monstery,0,0,0);
sp_nodraw(&bang,1);
sp_strength(&bang,20);//set here the damage
sp_brain(&bang,17);
This will create an invisible projectile, that will hurt the monster, and if the monster is hurt by this, he will know dink hit him.
int &monsterx = sp_x(&missile_target,-1);
int &monstery = sp_y(&missile_target,-1);
int &bang = create_sprite(&monsterx,&monstery,0,0,0);
sp_nodraw(&bang,1);
sp_strength(&bang,20);//set here the damage
sp_brain(&bang,17);
This will create an invisible projectile, that will hurt the monster, and if the monster is hurt by this, he will know dink hit him.