Home   Help Search Login Register  

Author Topic: Objective to avoid causing damage  (Read 910 times)

0 Members and 1 Guest are viewing this topic.

Spinner

  • Guest
Objective to avoid causing damage
« 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 :)

Offline icarus_uk

  • Members
  • *
  • LiarLiarPants Inflame True
    • [furryclan]
Re:Objective to avoid causing damage
« Reply #1 on: 14 Sep 2002, 21:01:42 »
You cant use Foreach as a condition.  You must use Count instead.