16-bit Fighter
Active member
Could you tell me a function in didhitscript to make the hit char tints in white (I mean like for 0.5 sec he gets white and gets normal and gets white and gets normal and so on) when his jugglepoints reaches 0 (and therefore he's not juggleable anymore) please?
I think my script below starts well but I need the parts about duration and tintcolor that I don't master.
I think my script below starts well but I need the parts about duration and tintcolor that I don't master.
Code:
void noJuggleptsTint ()
{
void self = getlocalvar("self");
int jugglecost = getentityproperty(self,"jugglecost");
void damagetaker = getlocalvar("damagetaker");
jugglepoints = getlocalvar(damagetaker,"jugglepoints");
if (jugglepoints == jugglecost)
{
//
}