Is this a bug?

Posted By: KMS

Is this a bug? - 05/18/11 17:23

Hi @ all!
Surching 3 days for the reason of the mailfunction in my animation I found this:
My animationnames: Walk,WalkWithGun,WalkWithPistol,WalkFast
The Problem:
ent_animate(my,"WalkWithGun",my.skill11,ANM_CYCLE);
ent_animate(my,"WalkWithPistol",my.skill11,ANM_CYCLE);
ent_animate(my,"WalkFast",my.skill11,ANM_CYCLE);
works ok,but:
ent_animate(my,"Walk",my.skill11,ANM_CYCLE);
gets a mailfunction,all the animation are playing!
After renaming Walk to "Laufen" it works also

Is there a bug reading strings?
Posted By: Superku

Re: Is this a bug? - 05/18/11 17:27

No bug:

Quote:
Szene- und Bone-Namen müssen aus mindestens 3 Zeichen bestehen. Zum Finden der Szene wird nur die Länge des scene String verglichen. Daher dürfen Modelle keine Szene-Namen enthalten, die mit dem kompletten Namen einer anderen Szene beginnen.

(Sorry for German quote.)
Posted By: JibbSmart

Re: Is this a bug? - 05/18/11 17:29

There's no bug. ent_animate only cares if the name begins with the given string, because the individual frames have different names (including a number or something that's usually on the end).

Jibb

EDIT: Ninja'd!
Posted By: KMS

Re: Is this a bug? - 05/18/11 17:45

Very thanks to you!No day without learning!
© 2024 lite-C Forums