A problem with AI vehicle patrols

I'm using Dayz Mission System (DZMS) and I've added an AI patrol by taking the script for the vehicle patrol from Wicked AI (WAI) and making some small changes.

I have two problems. First, the AI on the mounted gun won't shoot at me. Second, once the gunner is killed, the vehicle blows up. I'm hoping someone with more experience with this stuff can help me figure out how to fix these problems.

Here's the DZMSVehiclePatrol.sqf that was originally the WAI script, with minor modifications for my use: http://pastebin.com/zua5KA39

Here's a video showing the AI vehicle patrol:

 
Last edited:
Top