Home
Intel Depot
Editors Depot
Missions Depot
Addons Depot
Forum
Home
Help
Search
Login
Register
OFPEC Forum
»
Editors Depot - Mission Editing and Scripting
»
OFP - Editing/Scripting General
(Moderators:
h-
,
savedbygrace
,
Gruntage
) »
Change res to enemy once shot fired
« previous
next »
Send this topic
Print
Pages: [
1
]
Go Down
Author
Topic: Change res to enemy once shot fired (Read 484 times)
0 Members and 1 Guest are viewing this topic.
Gooner861
Guest
Change res to enemy once shot fired
«
on:
12 Jun 2004, 20:33:48 »
I have a scenario where ur patrolling in sum zone where there are also res dudes who are friendly at that time, but wen i shot is fired and kills ur officer how can u get the res dudes to turn as ur enemy and start shooting at u.
Thanks.
Logged
macguba
Former Staff
Re:Change res to enemy once shot fired
«
Reply #1 on:
13 Jun 2004, 01:41:53 »
Make Resistance not friendly to your side. In your init field write
this setCaptive true
when you want the Resy boys to start popping off in you direction write this in a trigger
On activation: player setCaptive false
Logged
Plenty of
reviewed ArmA missions
for you to play
Gooner861
Guest
Re:Change res to enemy once shot fired
«
Reply #2 on:
13 Jun 2004, 14:20:34 »
But wont that just make them fire at me, i want them to fire at all my guys.
Logged
macguba
Former Staff
Re:Change res to enemy once shot fired
«
Reply #3 on:
13 Jun 2004, 15:47:16 »
"_x setCaptive false" forEach ArrayOfYourUnits
Logged
Plenty of
reviewed ArmA missions
for you to play
Gooner861
Guest
Re:Change res to enemy once shot fired
«
Reply #4 on:
13 Jun 2004, 17:10:43 »
Ok thanks i get the setCaptive false thing but excuse my stupidity but wot is this ArrayOfYourUnits thing and how is that dun through a trigger?
Thanks.
Logged
Send this topic
Print
Pages: [
1
]
Go Up
« previous
next »
OFPEC Forum
»
Editors Depot - Mission Editing and Scripting
»
OFP - Editing/Scripting General
(Moderators:
h-
,
savedbygrace
,
Gruntage
) »
Change res to enemy once shot fired
Top of page