Home   Help Search Login Register  

Author Topic: how do i......  (Read 501 times)

0 Members and 1 Guest are viewing this topic.

Offline Conflict109

  • Members
  • *
  • no worries
how do i......
« on: 07 Aug 2004, 22:42:45 »
ok unfortunately when i  tried searching this idea its way too broad....

I need to execute a player- i have one man running from a crowd...all civvies- and one civy has a pistol the idea is that the mob runs up and overtakes the running guy, and they execute him....but here's the problem....

no matter what commands i use to add weapons to the civvies,target the running guy,or fire on him... they never seem to use their weapons....is this a civy problem? or is it just something im missing?

thanks
C109
Hey!! Bring back my pants you friggin elves!

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:how do i......
« Reply #1 on: 07 Aug 2004, 23:30:12 »
I'm not sure I understand.   You want a civvy to shoot a civvy, right?

OK.   In the Intel box set Resitance friendly to West (say).    Create an East officer.   Group the victim to him, so that the officer is the group leader.     Make the probability of presence of the officer zero.    In the init field of the victime write

this setCaptive true

Name the victim victim1.

Now give the shooter a weapon.    When you want the shooter to shoot the victim have this code in a trigger, wayopint, whatever

victim1 setCaptive false

The shooter will think that the victim is an East soldier.   Since the Resistance is friendly to West (and therefore enemy to East) the shooter should shoot the victim.
Plenty of reviewed ArmA missions for you to play

CopyrightPhilly

  • Guest
Re:how do i......
« Reply #2 on: 08 Aug 2004, 00:12:28 »
first off read this

http://www.ofpec.com/yabbse/index.php?board=6;action=display;threadid=7159

the part to read is "When you post"

if you want a civ to kill a civ then:

Code: [Select]
civname1 dotarget civname2
civname1 dofire civname2

civname1 is the name of the armed man
civname2 is the name of the civ that gets shot

cheers, Philly

Offline Conflict109

  • Members
  • *
  • no worries
Re:how do i......
« Reply #3 on: 08 Aug 2004, 23:14:43 »
philly my apologies for the title of my post-as im assuming that was the reason behind the "when you post" remark

i did attempt the the dotarget and dofire commands they didnt work... :-\

and im actually in the process of reinstalling right now, so i haven't had the chance to try the grouping technique...i had attempted to group the civvy to be killed to the west officer i "deletevehicle this" to, and same with the shooter only grouping him with an east officer...i haven't tried the resistance one tho...soooo we'll see how that goes


Thanks again

C109
« Last Edit: 08 Aug 2004, 23:16:31 by Conflict109 »
Hey!! Bring back my pants you friggin elves!