Hi, everyone.
I encountered a difficult problem that has been troublesome to me these days. Have a general depiction, I've written some code that make an entity (actually a person) take some continuous movement, that is, first walking, then running, then jumping, and then standing. Every kind of action would last for a couple of seconds. All of this works well until here.(Here such process of taking actions could be called a 'showing') But as soon as I let 'showing' run for the second time or even more. The entity's action couldn't be the same as the first time's showing. It walks for a very short distance and jumps much higher than the first time, though the animtion speed of entity isn't changed compared with the fist time. I firstly thought the issue could be caused by the too much occupation of memory space since an entity may cosume amounts of memory. I tried to add some functions just like 'ent_purge' or 'ent_remove' while the entity isn't being used. (Btw, I created the entity in WED). The problem doesn't seem to be figured out. Each action is taken for much shorter distance than the first time.
Has anyone met the problem like this and how to solve it ?? I am really grateful for your reply and help.

Many thanks!!

Last edited by LavenderSs; 05/05/08 08:17.