Warning: include(/var/www/html/forum/Sources/../../../includes/depot_files/OFPEC_get_header_image.inc.php): failed to open stream: No such file or directory in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 146

Warning: include(): Failed opening '/var/www/html/forum/Sources/../../../includes/depot_files/OFPEC_get_header_image.inc.php' for inclusion (include_path='.:/usr/local/lib/php') in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 146

Notice: Undefined index: OFPEC in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152

Notice: Trying to access array offset on value of type null in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152

Notice: Trying to access array offset on value of type null in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152
    Home   Help Login Register  

Author Topic: ai response to gunfire??  (Read 930 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 »