Jump to content
Luft08

How to make police units point their weapons but not shoot?

Recommended Posts

One of the scenarios I'm working on deals with civilian populations and AI police.  I need the police to aim their weapons at the players and tell them to drop their weapons and get on the ground. Then if the players don't comply the police should open fire.

 

I'm thinking that I can make the police and players enemies but set the players as being captured. That should prevent the police from shooting them but I don't know how to get them to point their weapons without shooting.

 

Any Ideas? 

Share this post


Link to post
Share on other sites

You could try something like:

 

_police1 setUnitCombatMode "BLUE";

and let this unit with behavior "AWARE" or "COMBAT" (automatic with enemy presence)

and

_police1 setUnitCombatMode "YELLOW" (or "RED")

when you need the unit to fire.

 

  • Like 1
  • Thanks 1

Share this post


Link to post
Share on other sites

That map and units were deprecated so i just switched it over to Altis so you can rip it open and use the trigger construct -might sound funny with caribbean voices on FIA but you get the point

 

https://www.dropbox.com/sh/0vnbteo376bvztd/AABtNfb644N09hVnOrPyDbW_a?dl=0

 

If you enter the guards areas with weapon raised 3 times theyll blast ya

  • Like 2

Share this post


Link to post
Share on other sites
9 hours ago, froggyluv said:

That map and units were deprecated so i just switched it over to Altis so you can rip it open and use the trigger construct -might sound funny with caribbean voices on FIA but you get the point

 

https://www.dropbox.com/sh/0vnbteo376bvztd/AABtNfb644N09hVnOrPyDbW_a?dl=0

 

If you enter the guards areas with weapon raised 3 times theyll blast ya

Thanks, I'll take a look.

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

×