Home   Help Search Login Register  

Author Topic: Array of civilians fire upon another group  (Read 793 times)

0 Members and 1 Guest are viewing this topic.

onionres

  • Guest
Array of civilians fire upon another group
« on: 13 Sep 2004, 08:08:31 »
I want to get a group of civilians upon noticing this other group to open fire upon them.

Also, how do i get the east to open fire upon civilians, sort of 'on demand'.

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:Array of civilians fire upon another group
« Reply #1 on: 13 Sep 2004, 19:03:48 »
Create a West officer.   Make his probability of presence 0.    Group the civvies under him.     Make them setCaptive true.   At the appropriate moment make them setCaptive false and East will fire on them.   They will always fire at East.

Make the other group of civvies East in the same way.
Plenty of reviewed ArmA missions for you to play

Offline Tyger

  • Former Staff
  • ****
  • I was at OFPEC when it still had dirt floors...
    • OFPEC
Re:Array of civilians fire upon another group
« Reply #2 on: 14 Sep 2004, 01:51:40 »
or units _yourarray doFire loon_1
that would work for both east and civs. They won't fire at each other without that command though.

Another trick I found is you can edit the mission.sqs code. Name your blokes something you will remember like loon_1 and loon_2. Then go into the mission.sqs files and find where the following is:
Code: [Select]
class Item0
            {
               position[]={9937.903320,26.730000,3996.199707};
               azimut=-361.890015;
               id=2;
               side="GUER";
               vehicle="Hunter";
               player="PLAYER COMMANDER";
               leader=1;
               skill=0.600000;
   
                text = "loon_1"

   markers[]={};
               init="this setBehaviour ""safe""; removeAllWeapons this; this addMagazine ""handgrenade""";
            };
*This is just an example*
you'll know who ur loon is by the 'text = ' line. Change the 'vehicle' to this:
Code: [Select]
vehicle = "FakeGSoldierC" i'm almost possitive thats the vehicle. this will make the person a civie lookin man w/ an ak or a m4. (i u want to change the body, put in FakeGSoldierC2 insted). Then you just setCaptive loons and ur good. #member 2 put the resistance 2 enemy of east#

Edit: any1 want 2 check on dat vehicle class? i'm almost possitive, but ! 100%
« Last Edit: 14 Sep 2004, 01:53:27 by Tyger »
"People sleep soundly at night only because rough men stand ready to do violence on their behalf." - George Orwell

MSG Mike Everret - We Will Never Forget - '75-'08