Home   Help Search Login Register  

Author Topic: SideRadio question  (Read 675 times)

0 Members and 1 Guest are viewing this topic.

Zur

  • Guest
SideRadio question
« on: 15 Oct 2003, 17:24:30 »
I have had a looong brake from ofp and mission editing now. I knew how to use the SideRadio commands in a script before. But I cant remember how to use it! If I want FIREFLY to give a message to alpha and Alpha to reply after a few seconds. How do I do that?!  ???

Offline dmakatra

  • Members
  • *
  • Better known as Armsty
Re:SideRadio question
« Reply #1 on: 15 Oct 2003, 17:32:42 »
Code: [Select]
[West, "Airbase"] sidechat "Search the forums!"
~5
(leader mygrp) sidechat "Nah! I'm too lazy"

Syntax not guaranteed.

:beat: *Gets Shot* :beat:
« Last Edit: 15 Oct 2003, 17:33:37 by The real Armstrong »

Offline rhysduk

  • Former Staff
  • ****
Re:SideRadio question
« Reply #2 on: 15 Oct 2003, 19:14:11 »
If you're using sideChat it is this :-

unitname sideChat "message"


Side Radio requires some radio message .. dont ask me .. i hate sound, radio in OFP

You might  wanna take a look here :-

http://www.ofpec.com/yabbse/index.php?board=7;action=display;threadid=13543

Rhys
Reviewed Missions Board: Please Read the User's Guide before posting!

Pride and Joy 1 (HW100-T)

Offline dmakatra

  • Members
  • *
  • Better known as Armsty
Re:SideRadio question
« Reply #3 on: 15 Oct 2003, 19:27:26 »
Oh... sideradio... sry m8

:beat: *Gets Shot* :beat:

Zur

  • Guest
Re:SideRadio question
« Reply #4 on: 15 Oct 2003, 19:50:27 »
I got an error when using the kommand [West, "AirBase"] SideRadio "Roger that Alpha. The forest areas are heavily guarded. Stay sharp!". The error message was:  Radio message Roger that Alpha. The forest areas are heavily guarded. Stay sharp! not found.

What is do I do wrong? :-[
« Last Edit: 15 Oct 2003, 20:40:28 by Zur »

Kaliyuga

  • Guest
Re:SideRadio question
« Reply #5 on: 16 Oct 2003, 01:51:53 »
when you use SideRadio you're telling it to play a designated sound file.. and display the accompanying text on the screen if i'm not mistaken
======================================================
Command :
SideRadio
 
Description :
Allows a unit to say something over the radio. All units on the same side of the speaker will receive this radio.
 
Syntax :
unitName SideRadio "CfgRadioClass"

unitName is the name of the unit to do the talking.
CfgRadioClass is the name of a CfgRadio class that you define in your mission's description.ext file.
 
Returns :
N/A
 
Example :
Unit1 sideRadio "RFallback";
======================================================

So when you use that syntax you posted..  OFP is looking for a file named:

Radio message Roger that Alpha. The forest areas are heavily guarded. Stay sharp!


 Do you want text to appear on the screen only? or do you want a sound file to be played as well?