OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: O Neil on 09 Nov 2002, 22:59:30

Title: Radio
Post by: O Neil on 09 Nov 2002, 22:59:30
Hey

I've got a mission, where I enter a trigger, and it's supposed to come up with radio chat, 4 seconds after some speech. It's desn't come up.     Unitname sidechat "blah blah yada"

Is what I type, the dead east man is the unitname, but the only radio message that comes up is the one for the player, (Me)         O_Neil sidechat "Blah blah gay yada"

If you still don't understand, I'll send you the mission.

THxs

PS: And it's not becase the east man is dead! I've tried him alive.   ;)
Title: Re:Radio
Post by: david-p on 10 Nov 2002, 00:28:09
you didnt say, what side r u on? if ur not on east, thatd be why sidechat dont work.
Title: Re:Radio
Post by: O Neil on 10 Nov 2002, 04:30:18
Soz, resistance
Title: Re:Radio
Post by: Mike on 10 Nov 2002, 05:06:03
try:

_msg=Format["blah blah"]; O_Neil GroupChat _msg

might work better in a script

_msg=Format["blah blah"]
O_Neil GroupChat _msg
Title: Re:Radio
Post by: O Neil on 10 Nov 2002, 06:55:50
OK, I don't really want to get into all the complicated stuff here.

Soz  :-[
Title: Re:Radio
Post by: Bremmer on 10 Nov 2002, 11:04:02
What I think david-p was hinting at was that sidechat wont work if you aren't on the same side as the unit you are talking too (east , resistance = no good).

Try using globalchat instead.

 :)
Title: Re:Radio
Post by: O Neil on 11 Nov 2002, 06:20:59
What globel chat ? :(
Title: Re:Radio
Post by: Mike on 11 Nov 2002, 10:27:28
sidechat is broken into 4 groups. If a player on the west team is using sidechat it is the West Team Chat Only

West
East
Civilian
Resistance

the globalchat will speak to all 4 of these at once..

---------------------

So put this in your trigger activation:

_msg=Format["blah blah"]; O_Neil GlobalChat _msg

once the trigger is activated.... it should chat blah blah
Title: Re:Radio
Post by: Sui on 12 Nov 2002, 04:29:58
Just a quick question, why the _msg variable Mike?

What's wrong with:

O_Neil globalchat "blah blah" ?

You could save yourself a variable and a bit of typing ;)