2007.12.10, 05:51 PM
Could calling to many random APIs stop them from returning anything? I'm using quite a few random numbers for my API, not ALOT, but this won't work:
It never gets to the finish move function :|.
Code:
....
obj.event.chain(utility.random.getInteger(5,10),'fyTrooperFinishMove');
....
function fyTrooperFinishMove(obj)
{
iface.console.write('finish');
obj.motionVector.stop();
obj.motionVector.turnToObject(victim);
mood='attack';
obj.model.animation.index=0;
obj.model.animation.start('idle ready');
fyTrooperFire(obj);
}