2006.10.20, 07:15 PM
Ok, I have been working on this for a couple of weeks now and It is angering me to the point where I am thinking of throwing my computer out the window. For some reason my bots (even JoeFoe) refuse to follow nodes on my map! I have mimicked EVERYTHING in Big Indoor Map (which my bots work fine in), 2 different nodes named Dest01 and Dest02 on opposite sides of the maps, connected by nameless nodes. Not only do my bots just stand still, I keep on getting an error about "no node walk to resume from" in joeFoeResumeNodeWalk():
I have been running some diagnostic messages and it seems they do run joeFoeStartNodeWalk() perfectly fine, even though they do nothing. This is REALLY making me ripping my hair out and I don't understand why It doesn't work. I have made a few advancements in AI (hearing loud weapons, immediately following the player when they get attacked, can get squished, etc.) and yet I can't get them to walk a fricking path. If ANYONE has ANY IDEA why this might be happening PLEASE tell me.
P.S: What does User Value setting for a node do?
Code:
function joeFoeResumeNodeWalk(obj)
{
// resume walking nodes from last node
obj.forwardSpeed.walk=35;
obj.model.animation.start('Walking');
obj.motionVector.walkToNodeResume(); // THIS LINE GENERATES AN ERROR
// start a timer for waiting to fire
obj.event.startWaitRandom(50,90,JF_WAIT_ID_FIRE_START);
// set a flag so damage knows what we are seeking
seekingPlayer=false;
}I have been running some diagnostic messages and it seems they do run joeFoeStartNodeWalk() perfectly fine, even though they do nothing. This is REALLY making me ripping my hair out and I don't understand why It doesn't work. I have made a few advancements in AI (hearing loud weapons, immediately following the player when they get attacked, can get squished, etc.) and yet I can't get them to walk a fricking path. If ANYONE has ANY IDEA why this might be happening PLEASE tell me.
P.S: What does User Value setting for a node do?