Home   Help Search Login Register  

Author Topic: Triggers  (Read 1271 times)

0 Members and 1 Guest are viewing this topic.

Offline B2KDragon

  • Members
  • *
    • Dogs of War
Triggers
« on: 05 Sep 2008, 17:30:07 »
How would i go about making a trigger were when a certain town is cleared then all the mines in another town disappear im using the dacs scripts as well to get the towns stocked with troops   :clap:

insent there anyone there who can help :confused:
« Last Edit: 06 Sep 2008, 01:34:51 by B2KDragon »

Offline Spooner

  • Members
  • *
  • Mostly useless
    • Community Base Addons
Re: Triggers
« Reply #1 on: 06 Sep 2008, 16:27:22 »
Please don't get stressed if no-one answers within 8 hours of you posing a question!

Trigger to check for town clearance:
- Activation: OPFOR - NOT PRESENT - ONCE
- On Act: { deleteVehicle _x } forEach (mineField nearObjects ["Mine", 500]);

GameLogic at centre of area to clear of mines, named "mineField" (above On Act assumes you want 500m radius of mines cleared around this position).
[Arma 2] CBA: Community Base Addons
[Arma 1] SPON Core (including links to my other scripts)

Offline hoz

  • OFPEC Site
  • Administrator
  • *****
Re: Triggers
« Reply #2 on: 06 Sep 2008, 16:46:56 »
Moved to General since its more of a basic question then MP...
Xbox Rocks

Offline B2KDragon

  • Members
  • *
    • Dogs of War
Re: Triggers
« Reply #3 on: 06 Sep 2008, 17:49:30 »
would i need 2 triggers cos once all areas are cleared then the mines need to be deleted

Never mind i got it to work thanks spooner
« Last Edit: 06 Sep 2008, 18:49:08 by B2KDragon »