Home   Help Search Login Register  

Author Topic: "Nulling" battle until player is at the scene  (Read 720 times)

0 Members and 1 Guest are viewing this topic.

Offline Arctic

  • Members
  • *
  • In Utero
"Nulling" battle until player is at the scene
« on: 29 Oct 2002, 22:59:16 »
I am making a quick multiplayer mission which sort of resembles a Black Hawk Down mission (except it is in the road between Laruns and Levie).

I want the battle to be sort of set up in a certain way. If I leave the units in their spots, the enemy M2s will just mop up the units.

I know of two ways of keeping them like "nulled", but i dont know which one is more effective or if there is another way to do it. I could do a mass SetPos thing, but Id need some help getting it to work. I could also make a script that makes units captive or on the "Never Fire" thing.


Offline Sui

  • Former Staff
  • ****
    • OFPEC
Re:"Nulling" battle until player is at the scene
« Reply #1 on: 29 Oct 2002, 23:24:15 »
A quick way to do that would be to use a trigger:

Trigger

Radius: Covering all the units involved
Condition: Anybody (repeatedly)
Condition: pacify
OnActivation Field: "_x setcombatmode ""blue""" foreach thislist
OnDeactivation Field: "_x setcombatmode ""yellow""" foreach thislist

Then if you have your variable (I've used pacify here), set that to true and everyone will stop firing. Set it back to false again to start the battle ;)