Home   Help Search Login Register  

Author Topic: Nam Pack 2 , radio  (Read 607 times)

0 Members and 1 Guest are viewing this topic.

CooK

  • Guest
Nam Pack 2 , radio
« on: 13 Dec 2002, 23:07:10 »
yea i  was wondering what is  the script call for when u use the radio (either side, plz list both) so i can use it in game. Like if you were gonna use it to call in support (i know how to call for support, just dont know how to make trigger detect the radio being used)

thx -=-=- CooK

jb

  • Guest
Re:Nam Pack 2 , radio
« Reply #1 on: 14 Dec 2002, 05:58:15 »
i'm prooly not understanding you correctly but if you want to call a script in a trigger (or waypoint..whatever) just write this in the "on activation" field.

             [] exec "radio.sqs"

"radio.sqs" being the name of your script of course.

as far as east or west.

[west,"base"] sidechat "alpha were sending more beer";
      alpha sidechat "roger, we're really thirsty"

west base is "papabear" and "alpha" is you

if you want east... just change it.

there is other crap to like "globalchat"

hope this helps
« Last Edit: 14 Dec 2002, 05:59:07 by jb »

CooK

  • Guest
Re:Nam Pack 2 , radio
« Reply #2 on: 14 Dec 2002, 09:06:59 »
nope sorry, im wanting to know how a trigger knows when the radio in nam pack (RTO) is being used.

Offline Wolfrug

  • Addons Depot
  • Former Staff
  • ****
  • Official OFPEC Old Timer
Re:Nam Pack 2 , radio
« Reply #3 on: 14 Dec 2002, 11:06:11 »
I'm afraid the radio in the 'Nam pack doesn't actually "fire" anything, and I don't think you can see if it's being used either :(

you can however check if you've got it using the hasWeapon command, as so:

aP hasWeapon "sebrpc"

the names of the weapons and equipment are in the readme file that came with the .zip file. You could always remove the ability to use the radio (menue) if you aren't carrying it, with a trigger:

a/b=0
activated by: none
repeatedly
type: switch

condition: aP hasWeapon "sebRpc"
on activation: "1" setRadioMsg "Radio message alpha"; "2" setRadioMsg "Radio message bravo"; etc
on deActivation: "1" setRadioMsg "NULL"; "2" setRadioMsg "NULL"; etc

radio messages go from 1-8 in 1.46, and I think they added 9-10 in OFP:R. No "0" exists.

anyhow that'll remove the ability to use the radio if you're not carrying it by removing the radio messages from your radio menue. the "radio message alpha" is the name of the message. Just create the normal radio triggers and off you go ;)

any troubles? do elaborate and ask away :thumbsup:

Wolfrug out.
"When 900 years YOU reach, look as good you will not!"