OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started 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. ;)
-
you didnt say, what side r u on? if ur not on east, thatd be why sidechat dont work.
-
Soz, resistance
-
try:
_msg=Format["blah blah"]; O_Neil GroupChat _msg
might work better in a script
_msg=Format["blah blah"]
O_Neil GroupChat _msg
-
OK, I don't really want to get into all the complicated stuff here.
Soz :-[
-
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.
:)
-
What globel chat ? :(
-
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
-
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 ;)