OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Zur 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?! ???
-
[West, "Airbase"] sidechat "Search the forums!"
~5
(leader mygrp) sidechat "Nah! I'm too lazy"
Syntax not guaranteed.
:beat: *Gets Shot* :beat:
-
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
-
Oh... sideradio... sry m8
:beat: *Gets Shot* :beat:
-
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? :-[
-
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?