Home   Help Search Login Register  

Author Topic: Delayed radio option? [SOLVED]  (Read 1659 times)

0 Members and 1 Guest are viewing this topic.

Offline Crowey

  • Members
  • *
Delayed radio option? [SOLVED]
« on: 23 Feb 2009, 19:24:43 »
Hi guys how do i go about making a radio option appear via a trigger? ie I dont want the player to be able to use for example"radio alpha" untill her reaches a certain area or fulfills a certain task?
« Last Edit: 24 Feb 2009, 17:53:04 by Crowey »

Offline johnnyboy

  • OFPEC Patron
  • ****
  • Matan los Pantalones!!!
Re: Delayed radio option?
« Reply #1 on: 23 Feb 2009, 19:56:08 »
Create a trigger dynamically when you need it.  See the createTrigger command and its related commands in the wiki:

http://community.bistudio.com/wiki/createTrigger
El Cojon: "Do you like to Tango?"
You: "Only in Bagango."
Download Last Tango in Bagango and discover how El Cojon earned his name...

Offline Wolfrug

  • Addons Depot
  • Former Staff
  • ****
  • Official OFPEC Old Timer
Re: Delayed radio option?
« Reply #2 on: 23 Feb 2009, 20:27:01 »
Or better yet, set the radio message to "NULL" at the start of the mission and then change it to whatever you want when you want it ->

setRadioMsg

:)

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

Offline johnnyboy

  • OFPEC Patron
  • ****
  • Matan los Pantalones!!!
Re: Delayed radio option?
« Reply #3 on: 23 Feb 2009, 20:37:12 »
I just tried wolfie's suggestion, and it works beautifully.  Much simpler!
El Cojon: "Do you like to Tango?"
You: "Only in Bagango."
Download Last Tango in Bagango and discover how El Cojon earned his name...

Offline Crowey

  • Members
  • *
Re: Delayed radio option?
« Reply #4 on: 23 Feb 2009, 23:53:03 »
Sorry for being a tit but What do i do exactly? lol
Noob alert... anyone who can talk me through it would be doing me a favour!!!!

Offline Ext3rmin4tor

  • Members
  • *
Re: Delayed radio option?
« Reply #5 on: 24 Feb 2009, 15:27:23 »
Create a script file named "init.sqs" in your mission folder (Desktop\Documents\ArmA other profiels\yourProfiel\missions\yourMission.sara). It's a simple text file so you can edit it with notepad. Just add the following code
(it's for radio alpha, if you're using another channel use the proper number, see the link added by Wolfrug)

Code: [Select]
1 setRadioMsg "NULL"

Then when the proper condition is satisfied create a trigger with the required condition and in the activation field write 1 setRadioMsg "Whatever message you please"
How can you shoot women and children?
Easy! Ya' just don't lead'em so much! Ain't war hell?!!

Offline Crowey

  • Members
  • *
Re: Delayed radio option?
« Reply #6 on: 24 Feb 2009, 16:56:49 »
cheers mate thanks for your help and patience guys