OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Spinner on 14 Sep 2002, 20:12:49
-
Heya
I want to set up an objective which will register as Done if the player avoids damaging any units on the West side, and Failed if he damages any of them at all.
Can I use the foreach command for a whole side, and if so how?
Or are there other ways to do this?
Any advice would be great :)
-
You cant use Foreach as a condition. You must use Count instead.