Home   Help Search Login Register  

Author Topic: trigger  (Read 751 times)

0 Members and 1 Guest are viewing this topic.

OPF FREAK

  • Guest
trigger
« on: 20 Feb 2003, 16:39:34 »
how do I set off a triggerif another trigger has gone off because i want a trigger with radio alpha on it to activate when a west soldier goes into another trigger ive looked in a tutorial but i couldnt find it

thx

Offline Artak

  • The old beanbag shaker
  • Former Staff
  • ****
  • You want to talk about it, yes?
    • OFP Team Finlanders
Re:trigger
« Reply #1 on: 20 Feb 2003, 16:49:00 »
put in the 'other' trigger's (the one which activates when the west soldier walk into its area) activation line this:
activateradiotrig=true

the radio triggers condition line should look like this:
this or activateradiotrig


I don't know why you want to do it like this if you're not even going to use the radio to trigger the radio trigger  :D  but hey, we all edit like we see best  ;)
Not all is lost.

MorMel

  • Guest
Re:trigger
« Reply #2 on: 20 Feb 2003, 16:58:33 »
Hey man... ! it was hard to understand you... But i think you wanna a trigger that's activated when a soldier gets into it, and, consequently, it sets a radio message to the alpha channel...

Try this:

When trigger1 is activated, at the init field you'll have 'channelnumber setradiomsg "message"'

ex.: 1 setradiomsg "Airstrike"

(Hey, check the command and syntax before you use it, as i don't have a CommandReference right now...!)

As the empty channel Alpha has now a message on it, you'll be able to use it for activating a trigger (which follows the instructions at the init field). Remeber that you must firstly set a trigger activated by the alpha channel, whose message is set to "null".

Well, that's it. I hope i didnt get wrong your question...  :)