OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Agent Fire on 29 Mar 2003, 15:17:54

Title: Radios
Post by: Agent Fire on 29 Mar 2003, 15:17:54
How do I write in text from the radio? I'm sick of using that stupid white text on

trigger/waypoint>Effects>Type>Text

And I want some proper orders from your officer.
Title: Re:Radios
Post by: macguba on 29 Mar 2003, 16:01:17
lol you sound like somebody having a bad day.

Head over to the Command ref in the Ed depot and investigate the mysteries of commands like

sideChat
groupChat
vehicleChat

as in

loon1 sideChat "Hurray, this is a radio message!"

If you un-pbo almost any mission you can find out that sort of thing .... this kind of text often goes in triggers.   (Obviously it works in scripts and waypoints too.)
Title: Re:Radios
Post by: Knut Erik on 29 Mar 2003, 16:01:56
Eeeeeasy!  ;D ;D

Just write this in the triggers activation field...

NameOfUnit sidechat\globalchat\groupchat\vehiclechat "TheText"

Globalchat is vissible to all sides.
Sidechat is vissible to all units on a side.
Groupchat is vissible only to the group members.
Vehiclechat is vissible only to the units in a vehicle.


[shadow=blue,left,300]Just ask for further explanations if you need[/shadow]
Title: Re:Radios
Post by: OFPWiZard on 29 Mar 2003, 17:14:13
Hello

This will make the text color blue in the radio command on the botton left of your screen.

EX:  Chopper is going down

Open the Mission and name the person that you want to talk (Ex: c1).
In the INI Field of that person put this: [] exec "text.sqs"
If you want the person to say what ever you want to say at a certen time you would make a trigger and put it where ever you want the person to say it and put this in the On Activation Field: [] exec "text.sqs"

Make a New Text Document and open it.
Copy and Paste this text into the Document.
Save it as text.sqs

Quote
c1 sidechat "We've been hit!"
~5
c1 sidechat "Brace for impact!"
~10
c1 sidechat "Blackhawk 6 is going down!"
~15

exit

c1 = Name of person thats going to say it...
~5 = The time between the next call from the one before it...
sidechat = What kind of chat you want the person to say it in...
                 Other Chats:
sidechat
globalchat
teamchat*

*i think... also there are more, like when you change from side chat to golbal in MP, they are all the chats.

Hope this helps you...  ;)

Bye

Its the same as Knut Erik Said:
Quote
Eeeeeasy!

Just write this in the triggers activation field...  ;D ;D

NameOfUnit sidechat\globalchat\groupchat\vehiclechat "TheText"

Globalchat is vissible to all sides.
Sidechat is vissible to all units on a side.
Groupchat is vissible only to the group members.
Vehiclechat is vissible only to the units in a vehicle.

Just ask for further explanations if you need
Title: Re:Radios
Post by: Agent Fire on 29 Mar 2003, 18:23:18
thanks

                                                          ______      __________
                        /\            |                  |          |              |
                      /    \          |                  |          |              |
                    /------\         |                   |   8)       |               |                  
                  /            \       |                  |          |              |
                /                \     |______        |_____|                 |


OFPWizard, Knut Eric, and Macguba! :-*
Title: Re:Radios
Post by: OFPWiZard on 29 Mar 2003, 18:37:04
[size=8]Hello

YOUR WELCOME  ;D[/size]
Title: Re:Radios
Post by: Agent Fire on 29 Mar 2003, 18:49:00
 :D :D :D :D :D :D :D        :D            
 :D                        :D        :D                  :D
 :D                        :D        :D           :D
 :D                        :D        :D      :D
 :D                        :D        :D :D
 :D                        :D        :D        :D
 :D                        :D        :D             :D
 :D                        :D        :D                   :D
 :D :D :D :D :D :D :D         :D                       :D

THIS IS SwEeT  :o
Title: Re:Radios
Post by: OFPWiZard on 29 Mar 2003, 18:53:29
i c u like making words with no letters, lol
Title: Re:Radios
Post by: Agent Fire on 29 Mar 2003, 19:28:20
[
glow=red,2,300]yep (except now)[/glow]
Title: Re:Radios
Post by: Agent Fire on 29 Mar 2003, 19:28:42
hey - it didn't glow/move!  >:(
Title: Re:Radios
Post by: OFPWiZard on 29 Mar 2003, 19:30:20
[size=20]?¿[/size]
Title: ???
Post by: Knut Erik on 29 Mar 2003, 19:33:27
Is it just me or is this topic going a bit off topic?
Title: Re:Radios
Post by: OFPWiZard on 29 Mar 2003, 19:36:09
I think so...

Agent Fire what do you need help on?
Whats wrong?
Title: Re:Radios
Post by: Agent Fire on 29 Mar 2003, 20:30:08
You make a good point... This is going off topic.... All my problems have been solved, and so I shall now close the topic.

 :'(It's sad to say goodbye