O Ilusionista
Captain 100K
Very nice.
I think the fire upper should burn too.
I think the fire upper should burn too.
stealth {stealth} {perception}
~This command sets stealth ability to entity
~{stealth} defines how 'invisible' the entity to hostile entities. Default value is 0
~{perception} defines how well entity can see stealth entities. Default value is 0
~For instance, entity with {stealth} 2 is only 'visible' to hostile entities with {perception} 2 or higher
~This command doesn't affect visual at all IOW entity is still visible to players
im testing here, and i tink same, will tink about somethings to make him fall of bike...darknior said:Excellent
Maybe Ghost Rider is so strong with his moto ... or not ?
Time is a good idea, the bike come and go back after 30s or 1 min ?zvitor said:im testing here, and i tink same, will tink about somethings to make him fall of bike...darknior said:Excellent
Maybe Ghost Rider is so strong with his moto ... or not ?
what i should do,
time or damage?
@script
clearlocalvar();
void self = getlocalvar("self"); // Get calling entity.
int myVar = getlocalvar("myVar"+self); // Get var
setlocalvar("myVar"+self, 0);
myVar = 0;
@end_script
@script
void self = getlocalvar("self");
void Life = getentityproperty(self,"health");
void MaxHealth = getentityproperty(self,"maxhealth");
int chance = rand()%100;
if (chance <0){
chance = -chance
}
if (myVar==0 && Life <= MaxHealth/2 && chance<10){
setlocalvar("myVar"+self, 1);
myVar = 1;
performattack (self, "ANI_FOLLOW1");
}
if(myVar==1){
changeentityproperty(self, "animation", "ANI_RISE");
}
@end_script
zvitor said:so this < 5 is around 55% ?
if i want 10% i should do >= 40?