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
) »
How to .......
« previous
next »
Send this topic
Print
Pages: [
1
]
Go Down
Author
Topic: How to ....... (Read 747 times)
0 Members and 1 Guest are viewing this topic.
Laviski
Members
How to .......
«
on:
25 Sep 2004, 15:06:05 »
hello there i'm remaking an old mision i made before and i would like to make a few additions to it. The mission is Fugitives (was designed for Lan)and basically its like 30 on the east side hunting down 3 resistance before they reach the extraction point. and my problem is as follows:
How can i end the game if the east have killed 3 or more civilians in the mission. it doesn't matter about the resistance or west side killing civilain just want the game to be forfeit if too many civilians are killed by the east side.
any help will be much appreciated.
Logged
Platoon Patton
Members
"Barbecue" CreateVehicle getpos LLama
Re:How to .......
«
Reply #1 on:
25 Sep 2004, 15:11:37 »
Put all your civvies in an array,remove dead civvies ,count this array.
If your count reach a certain value-->force end
Sure there are other ways tho.
Logged
http://www.platoon-clan.com/
We always wellcome dedicated OFP players
http://www.european-combat-league.com/index.php
To play with us in the best OFP league
Comrade Joe
Guest
Re:How to .......
«
Reply #2 on:
25 Sep 2004, 15:20:10 »
Or just use the ol' (not(alive unitname)) command.
Logged
macguba
Former Staff
Re:How to .......
«
Reply #3 on:
25 Sep 2004, 16:22:22 »
Quote
force end
I've seen this command mentioned several times recently. It's true that it will work, but it is not good editing. In this particular case you would want an appropriate debriefing text, which makes a numbered ending (End#4) better. ForceEnd is for emergencies, not normal endings specificially designed by the mission creator.
Logged
Plenty of
reviewed ArmA missions
for you to play
Platoon Patton
Members
"Barbecue" CreateVehicle getpos LLama
Re:How to .......
«
Reply #4 on:
25 Sep 2004, 17:17:31 »
Rgr Mac
Logged
http://www.platoon-clan.com/
We always wellcome dedicated OFP players
http://www.european-combat-league.com/index.php
To play with us in the best OFP league
macguba
Former Staff
Re:How to .......
«
Reply #5 on:
25 Sep 2004, 18:00:59 »
I should have said that the resulting answer would be to have a trigger something like:-
Type: End#4
Condition: ("alive _x" count [civvy array]) < 5
Syntax not guaranteed.
Logged
Plenty of
reviewed ArmA missions
for you to play
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
) »
How to .......
Top of page