waypoint trouble
waypoint trouble
I'm trying to setup some patrols. I know how to use waypoints and I have them setup right, but the enemy doesn't follow the path. I have 7 waypoints and the enemy follows this path instead. He goes from 1 to 2 then to 4 then to 6 where he stops. I double checked and I have the waypoints numbered right. Any Ideas? Thanks for the help guys.
- OnTheBounce
- TANSTAAFL
- Posts: 2257
- Joined: Thu Apr 18, 2002 8:39 am
- Location: Grafenwoehr, Oberpfalz, Bayern, Deutschland
- Contact:
Hmmm...
K, let's go through some common errors:
Hope this helps,
OTB
K, let's go through some common errors:
- Did you number the Waypoints starting at 0?
- Is the player index's AI set to "Waypoint" and not "Waypoint, Random" or something similar?
- Is the Player Index's "Mobility" higher than 4? If it's set very low they will stop, often for long periods of time before finally moving on.
- Do you have the "Next Waypoint" fields filled in correctly on the waypoint entities?
Hope this helps,
OTB
"On the bounce, you apes! Do you wanna live forever?!"
- Max-Violence
- Wandering Hero
- Posts: 1221
- Joined: Thu Apr 18, 2002 4:15 am
- Location: In my own personal vault
- Contact:
Step #1: ALWAYS have your first WP numbered 0, then go from there. That alone could very well fix your problem.
If not, then my only advice is to double- and triple-check everything:
Make sure all of the WP entities are 1 level above the floor they are placed "on."
This might be a little obvious, but check the "next" box for the WP's before the ones being skipped for commas.
i.e. If you have WP's 0 - 6 (like you're gonna have), make sure there aren't any commas ( , ) anywhere in either numbered fields. I don't know what putting a comma in the "current" box does, but if you put, say, 1,2 in the "next" box, the actor will go to either WP 1 or WP 2. This is a good thing for when you want varied patrol routes, but it doesn't sound like that's the case here.
Other than double-checking things, I'm not sure what could be wrong.
Is this the first patrol route you've ever set up? If so, there might be an error in the Player Index definition of the actor. Remember: everything is case-sensitive!!!
Good luck!
If not, then my only advice is to double- and triple-check everything:
Make sure all of the WP entities are 1 level above the floor they are placed "on."
This might be a little obvious, but check the "next" box for the WP's before the ones being skipped for commas.
i.e. If you have WP's 0 - 6 (like you're gonna have), make sure there aren't any commas ( , ) anywhere in either numbered fields. I don't know what putting a comma in the "current" box does, but if you put, say, 1,2 in the "next" box, the actor will go to either WP 1 or WP 2. This is a good thing for when you want varied patrol routes, but it doesn't sound like that's the case here.
Other than double-checking things, I'm not sure what could be wrong.
Is this the first patrol route you've ever set up? If so, there might be an error in the Player Index definition of the actor. Remember: everything is case-sensitive!!!
Good luck!
Last edited by Max-Violence on Thu May 09, 2002 1:22 am, edited 1 time in total.
Closing our eyes forces us to look
At the darkness inside.
Our emotions always find us
Regardless of where we hide.
maxviolence@hotmail.com
http://mvmaphub.duckandcover.cx <--- Updated July 10th, 2006
At the darkness inside.
Our emotions always find us
Regardless of where we hide.
maxviolence@hotmail.com
http://mvmaphub.duckandcover.cx <--- Updated July 10th, 2006
- Max-Violence
- Wandering Hero
- Posts: 1221
- Joined: Thu Apr 18, 2002 4:15 am
- Location: In my own personal vault
- Contact:
Um, hey there, OTB
Closing our eyes forces us to look
At the darkness inside.
Our emotions always find us
Regardless of where we hide.
maxviolence@hotmail.com
http://mvmaphub.duckandcover.cx <--- Updated July 10th, 2006
At the darkness inside.
Our emotions always find us
Regardless of where we hide.
maxviolence@hotmail.com
http://mvmaphub.duckandcover.cx <--- Updated July 10th, 2006
- OnTheBounce
- TANSTAAFL
- Posts: 2257
- Joined: Thu Apr 18, 2002 8:39 am
- Location: Grafenwoehr, Oberpfalz, Bayern, Deutschland
- Contact: