Jump to content
systemantix

Vehicles not following way-point attributes after Cycle???

Recommended Posts

http://steamcommunity.com/sharedfiles/filedetails/?edit=true&id=754687867

 

I've created a sample mounted patrol, and I've mostly been able to hammer out all but one persistent bug.

There are three groups in the patrol: 1 vehicles, 2 dismounts. They follow this series of events...

1. Vehicles move to sentry way-point, infantry holds in vehicles.
2. If enemies are detected by the patrol within 500 meters, the vehicles stop and unload the infantry.
3. Vehicles hold position and provide fire while infantry maneuvers to eliminate contacts.

4. Once there are no more enemies detected, infantry boards vehicles after 30 second timeout.
5. Repeat.

Problem being, the second vehicle won't stay on the road, and when it's forced on the road by the terrain, it's bumper to bumper with the first vehicle. What am I doing wrong?!?!?!?!?!?!?!!? 

Share this post


Link to post
Share on other sites

Have the vehicles in a separate group from the infantry and set them to careless.

  • Like 1

Share this post


Link to post
Share on other sites

Have the vehicles in a separate group from the infantry and set them to careless.

Did it. The cycle way-point is set to careless, then it moves to the sentry, which is set to safe. I've even used "setBehaviour" to force the crew into "safe" in every place that I can think of. What's really odd is that the second vic doesn't even act like it's "aware", because it has no sense of personal space.

 

Maybe I am just at the mercy of the AI... :|

 

Edit: Apparently forcing the vics into "careless" at the end of the script was the answer. Seems to be working now. Kudos to you.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×