Comrades in Arms Discussion Board
Civs to shoot at Bluefor - Printable Version

+- Comrades in Arms Discussion Board (http://forum.ciahome.net)
+-- Forum: Comrades in Arms Life (http://forum.ciahome.net/forumdisplay.php?fid=3)
+--- Forum: Mission Making (http://forum.ciahome.net/forumdisplay.php?fid=8)
+--- Thread: Civs to shoot at Bluefor (/showthread.php?tid=3219)



Civs to shoot at Bluefor - treendy - 12-25-2015

Hello,


I have found a few ways to get the Civilians to attack bluefor... but non seem to work... have tried grouping to an Opfor ai, setting side on trigger etc...


I have managed to get the civilian unit to draw a gun and point it at the player... but he wont shoot (even after setting combat mode to red?  has anyone else had any problems with this?


My aim, is when a bluefor unit gets close to a civilian(within a trigger area) the civilian will draw a gun and start shooting bluefor.  so don't want all civilians to be against bluefor, just the one civilian.


...also, Happy Christmas all (or just happy Friday... whatever you prefer)









Re: Civs to shoot at Bluefor - Phantom - 12-25-2015

I did something sort of like this on one of my Arma 2 mission (forgot the name). I did it via addaction instead, so if you interrogate a thug in disguise they go hostile and pull a gun on you (also changing their side to OPFOR).


So I placed some OPFOR officers around and in their init I have
Code:
enemygrp = group this;


Their probability of presence = 0 so those OPFOR officers are placeholder and don't exist. You can place a trigger wtih BLUFOR in trigger or something then on activation


Code:
[civUnitName] joinSilent enemygrp;


They should now change side to OPFOR and attempt to shoot the player.