Home   Help Search Login Register  

Author Topic: QUICKIE! --> affect whole side  (Read 609 times)

0 Members and 1 Guest are viewing this topic.

Offline Pr0ph3t

  • Members
  • *
QUICKIE! --> affect whole side
« on: 13 Mar 2005, 02:55:59 »
When the trigger activates I want all civilians on the map to suddenly go negative rating.. This is so troops can fire at them.

what's the command please? thanks! ;D

Offline Pr0ph3t

  • Members
  • *
Re:QUICKIE! --> affect whole side
« Reply #1 on: 13 Mar 2005, 03:12:54 »
HOLY SHIT

I did addrating -2100 instead of setcaptive false.. They continue shooting even after they're dead!! its awesome!

Dubieman

  • Guest
Re:QUICKIE! --> affect whole side
« Reply #2 on: 13 Mar 2005, 07:10:10 »
Pr0ph3t ,
You've had a few posts that get a little out of hand. I don't think we need to swear over the results of OFP scripting.

Well to give you an answer, you can put all the civs into an array, via trigger covering the whole map, and later call on that array with the command.

I haven't used this in awhile, but something along the lines of...

{_x addrating -4600} foreach _array


Offline Pr0ph3t

  • Members
  • *
Re:QUICKIE! --> affect whole side
« Reply #3 on: 15 Mar 2005, 04:37:39 »
None of those lines worked. However this one did for anyone else that might be in my shoes:

"_x addrating -2100" foreach (units group todie)"