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
) »
Replacing the dead
« previous
next »
Send this topic
Print
Pages: [
1
]
Go Down
Author
Topic: Replacing the dead (Read 441 times)
0 Members and 2 Guests are viewing this topic.
Killzone
Members
War is the true Enemy
Replacing the dead
«
on:
31 Mar 2004, 08:22:24 »
Hello
I hope someone can help me. I used to have a mission that would count the number of soldiers in a group and then create new ones if the number dropped below that number. Make sense?
If I remember it was small it just went in the condition line and the activation lines of a trigger.
I looked in the editors epot but could not find anything. I dont believe it was a script it operated totally in a trigger (I think) Thanks in advance ;D
Logged
"Everyone dies so deal with it and move on"
ME
macguba
Former Staff
Re:Replacing the dead
«
Reply #1 on:
31 Mar 2004, 10:37:17 »
In a trigger it would be something like:-
Activation: repeatedly
Condition: count units grpAlpha < 6
On Activation: "SoldierWB" createUnit [getMarkerPos "marker_1", groupAlpha, "this addweapon {binocular}", 0.6, "corporal"]
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
) »
Replacing the dead
Top of page