Home   Help Search Login Register  

Author Topic: ai response to gunfire??  (Read 810 times)

0 Members and 1 Guest are viewing this topic.

BRAVO-TWO

  • Guest
ai response to gunfire??
« on: 16 Dec 2005, 02:35:37 »
is there a tried and tested way to get enemy units to react to unsupressed gunfire only  ??

 (eg.... for enemy patrols to respond to M21 fire  and not  HK MP5)

Offline Flauta

  • Members
  • *
  • There is no knownledge, that is no power
    • Chek mi FLog
Re:ai response to gunfire??
« Reply #1 on: 16 Dec 2005, 08:41:23 »
I have heard this question a few years ago... the answer i think it was somsing like chenking the weapon via the "fire" eventhandler... and if it is not an Suppressed gun... you are making noise!!
=P im not good for this.. but maybe this will help

add the exection of this script on every eventahndelr units you want to chek...

and in the script must be like these

Code: [Select]
? ! _unit hasweapon "hk" : [] exec "your script here.sqs"exit
or try whit some other guns

Code: [Select]
? ! _unit hasweapon "hk" or ! _unit hasweapon "ak74su" ETC : [] exec "your script here.sqs"
im not the wizard ;) you are

BRAVO-TWO

  • Guest
Re:ai response to gunfire??
« Reply #2 on: 16 Dec 2005, 14:49:04 »