O Ilusionista
Captain 100K
Hi
I use a script to change my character map to a hit map everytime he got hit.
To avoid this map override the frozen map, I've added a extra line to check it.
Now, I need to make it check for ATTACK4 (venon), but isn't working. What I am doing wrong?
I use a script to change my character map to a hit map everytime he got hit.
To avoid this map override the frozen map, I've added a extra line to check it.
Now, I need to make it check for ATTACK4 (venon), but isn't working. What I am doing wrong?
void main()
{// Blink effect script
void self = getlocalvar("self"); //Get calling entity.
void Health = getentityproperty(self,"health");
int Type = getlocalvar("attacktype");
if(Type != openborconstant("ATK_FREEZE") || Type != openborconstant("ATK_NORMAL4")){
if (Health > 0){
changeentityproperty(self, "colourmap", 6);
changeentityproperty(self, "maptime", 20 + openborvariant("elapsed_time"));
}
}
}