Jump to content
Sign in to follow this  
Mavis130

How do I set an objective?

Recommended Posts

Hey, I am new to editing ArmA2, and scripting in general, so please do not think to lowly of me. What I need is how to set an objective to an object (a vehicle in my case).

My mission is for 1 man to sneak into an occupied town and blow up an anti-aircraft vehicle. I don't really need to have it show on the HUD for the player, but if it happens anyway then it won't bother me. How can I get about setting that vehicle as the target to be destroyed and then set another point for the player to end the mission at (extraction if that didn't make sense). Also, I will need to make it so the enemy AI is not trying to defend this vehicle.

In fact, I also need to know how to set the AI to patrol a small region, like just wander a town and engage enemies, and report dead and wounded soldiers... basic patrolling stuff.

By the way, thanks in advance for any advice on the subject.

Share this post


Link to post
Share on other sites

Most of what you want can be done with triggers and waypoints.

If you want a patrol to look casual set them to safe in behavior.

I don't know how to make separate patrols communicate with eachother though. There are some ideas I could say using triggers and join / join and lead waypoints that will keep getting moved on top of the patrol force, but I don't know how well that would work or how hard it would be to actually pull off.

Not sure what you mean by making AI not try to defend the vehicle.

Share this post


Link to post
Share on other sites
Most of what you want can be done with triggers and waypoints.

If you want a patrol to look casual set them to safe in behavior.

I don't know how to make separate patrols communicate with eachother though. There are some ideas I could say using triggers and join / join and lead waypoints that will keep getting moved on top of the patrol force, but I don't know how well that would work or how hard it would be to actually pull off.

Not sure what you mean by making AI not try to defend the vehicle.

Bout the vehicle, I wasn't sure if the AI would be aware of my goal to hit the vehicle or not, but I guess if they are on safe mode it won't really matter.

Share this post


Link to post
Share on other sites

As far as I know AI are not aware of triggers until they are activated, and even then only if the activation actually directly tells them to do something.

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  

×