Home   Help Search Login Register  

Author Topic: Replacing the dead  (Read 441 times)

0 Members and 2 Guests are viewing this topic.

Offline 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
"Everyone dies so deal with it and move on"

                                                      ME

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
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.
Plenty of reviewed ArmA missions for you to play