Home   Help Search Login Register  

Author Topic: How do I get the police to target someone with weapons drawn?  (Read 411 times)

0 Members and 1 Guest are viewing this topic.

GIMPCHIMP

  • Guest
Basically I'm looking for a (preferably simple) script that will make the civilian police target another civilian, but only if they see them with weapons drawn.  I think I'd know how to work it out if someone could give me a check to see what behaviour status (eg. SAFE, AWARE) a unit was in.

Cheers.

Offline Tomb

  • Contributing Member
  • **
  • in2 Metal? Go 2 my sig
Re:How do I get the police to target someone with weapons drawn?
« Reply #1 on: 03 May 2003, 17:27:53 »
 :) try :

Behaviour Bob !="Safe"


...as the condition, and on activation :


Cop SetBehaviour "Aware"; Cop DoTarget Bob


(where yer civlian is named Bob & the .... bah, yanno!  ::) ;D )


==========

just remember 2 set Bobs behaviour to SAFE in his INIT field :

This setbehaviour "safe"  :-*
« Last Edit: 03 May 2003, 17:28:56 by Tomb »

GIMPCHIMP

  • Guest
Re:How do I get the police to target someone with weapons drawn?
« Reply #2 on: 03 May 2003, 18:52:42 »
Cheers, that seems to be exactly what I was looking for.
« Last Edit: 03 May 2003, 18:53:22 by GIMPCHIMP »

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:How do I get the police to target someone with weapons drawn?
« Reply #3 on: 03 May 2003, 23:43:04 »
If you want civvies and police to be enemies always, and you don't have east and west in the mission, or if you do .... well, you'll get the idea.

Group the police under a West group leader.   In this leaders' init field write

deleteVehicle this

Group the civvies under an East group leader.   Write the same thing in his init field.  

Or use side Resistance, if that helps.

Oh, and

Welcome to the forum!
« Last Edit: 03 May 2003, 23:43:57 by macguba »
Plenty of reviewed ArmA missions for you to play