Jump to content
Sign in to follow this  
icfhoop

Ambush

Recommended Posts

Hello,

I was wondering, is it possible after an IED gos off, could enemy soldiers execute an ambush once the explosion has gone off thank you.

Share this post


Link to post
Share on other sites

Well im using an IED script to damage a humvee therefore forcing the AI to get out. Got any suggestions?

Share this post


Link to post
Share on other sites

Hmm. Well a workaround could be to have a Humvee in front of the target Humvee, and have the IED destroy that Humvee, and use the destruction of that Humvee as the trigger switch to unleash ambushy mayhem.

Share this post


Link to post
Share on other sites

use a condition in the ambushers waypoint

IED trigger > on activation > bAttack = true

won't necessarily be like this but you get the picture

in ambushers waypoint > condition > this && bAttack

making the AI disembark properly is a bit tricky (allowGetIn, unassignVehicle, orderGetIn etc.) and making them act properly if they detect the ambushers before the ambush

i've seen a few disembark scripts around you could use

here is a little example mission

http://opression.no-ip.info/Patrol_Attacked.Intro.rar

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
Sign in to follow this  

×