Home   Help Search Login Register  

Author Topic: mass commands  (Read 715 times)

0 Members and 1 Guest are viewing this topic.

Nightsage

  • Guest
mass commands
« on: 17 Dec 2004, 23:19:18 »
ive been trying to figure out how to have a script apply to a general group. I have a script that will kill a large group( "_x setdamage 1" foreach thislist) if you put that into a trigger it will kill anything that enters it but i want to know how i can put something into a trigger that will do something like set everyones behaviour to "aware" or "safe" or whatever or maybe make everyone run to a certain area or whatever. I don't know if anyone will have a clue abouit what I'm talking about but if you do I would love to hear from you.

Offline Planck

  • Honoured
  • Former Staff
  • ****
  • I'm never wrong ....I'm just not always right !
Re:mass commands
« Reply #1 on: 17 Dec 2004, 23:31:23 »
Just a guess, but maybe:

{_x setbehaviour "safe"} foreach thislist

Try it out anyway...........experiment...


Planck
I know a little about a lot, and a lot about a little.

RedHouse

  • Guest
Re:mass commands
« Reply #2 on: 18 Dec 2004, 06:12:15 »
it's because strings can be written in two ways in "" or in{} you could even do this "_x setbehaviour {safe}" aswell