OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: 456820 on 10 Feb 2005, 13:48:29

Title: count units whole side
Post by: 456820 on 10 Feb 2005, 13:48:29
what is the line that will check for all the players on one side i know its something like "{count units} this list" or something like that i just cant find the right one im trying to say "all units on one side setdammage -0.2" to decrease there aim?
Title: Re:count units whole side
Post by: macguba on 10 Feb 2005, 14:19:20
Area:  whole map
Activation:   East Present Once
On activation:   "_x setDammage -0.2" forEach thislist

Syntax not guaranteed.
Title: Re:count units whole side
Post by: 456820 on 10 Feb 2005, 14:29:58
thnks i will try that now