Home   Help Search Login Register  

Author Topic: Setting up an action as a trigger  (Read 450 times)

0 Members and 2 Guests are viewing this topic.

c_jay_ie

  • Guest
Setting up an action as a trigger
« on: 19 Oct 2004, 20:41:19 »
Is it possible? I'd like to put one trigger on if I fire a red flare (call air support), and one if I fire a green flare(chopper comes and extracts me).
What I want to happen is for the chopper pilot (let's call it "chopper") to see my flare, and I want that to start the trigger. What way can I do it?

Offline General Barron

  • Former Staff
  • ****
  • Semper Fi!
Re:Setting up an action as a trigger
« Reply #1 on: 19 Oct 2004, 22:05:00 »
Check the online com ref in the ed depot under "event based scripts". There is a script called onflare.sqs that will automatically run when someone shoots a flare, and might work for what you are doing. Otherwise, I'm sure someone will tell you how to use a fired eventhandler to get it done.
HANDSIGNALS COMMAND SYSTEM-- A realistic squad-control modification for OFP
kexp.org-- The best radio station in the world, right here at home! Listen to John Richards!