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
) »
Enemy group kill control
« previous
next »
Send this topic
Print
Pages: [
1
]
Go Down
Author
Topic: Enemy group kill control (Read 688 times)
0 Members and 1 Guest are viewing this topic.
Kaiser_5SM
Guest
Enemy group kill control
«
on:
24 Apr 2003, 15:15:13 »
Hi,
There are any method to know if an entire enemy group has been killed? I know how to know if a soldier is alive or not, but there are anything to a enemy group?
Thanks.
Logged
Artak
The old beanbag shaker
Former Staff
You want to talk about it, yes?
Re:Enemy group kill control
«
Reply #1 on:
24 Apr 2003, 15:21:40 »
Name the group by putting in the leaders init field grp1=group this
if you haven't already named it.
Then use this line in your trigger or script of whatever your using to detect if all of them are killed.
"alive _x" count (units grp1) == 0
Logged
Not all is lost.
Kaiser_5SM
Guest
Re:Enemy group kill control
«
Reply #2 on:
24 Apr 2003, 15:39:10 »
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
) »
Enemy group kill control
Top of page