Home   Help Search Login Register  

Author Topic: Open Radio Channels  (Read 990 times)

0 Members and 1 Guest are viewing this topic.

shadow99

  • Guest
Open Radio Channels
« on: 15 Nov 2004, 00:56:02 »
Is there a way to enable Resistance radio messages (custom sideChat ones) to be displayed to the West? Linking the Resistance to the West and then 'deleteVehicle this' is not an option.

Offline Triggerhappy

  • Contributing Member
  • **
  • Llama, it's what's for dinner.
Re:Open Radio Channels
« Reply #1 on: 15 Nov 2004, 01:28:36 »
you could have a west guy way off somewhere no one will go, and use this script.
It will work for any number of people, but each of them need a name
exec like so: [resguy,anotherresguy, hiddenwestguy,"stuffyouwantthemtosay"] exec "whateveryounamethis.sqs"

Code: [Select]
_resGuy = _this select 0
_resguy2 = _this select 1
_westGuy = _this select 2
_chat = _this select 3

[_resGuy] join _westGuy
_resGuy sidechat _chat
[_resGuy] join _resguy2
exit

you need a second res person to change the first one back to resistance

if you dont want to call the script with all of the arguments, all you need is the second half of the script (divided by space) and you would need to change each variable into what they are supposed to be. (look at the arguments if you don't know what they are supposed to be)

EDIT: the second res guy should be in the same group as the first, or it won't work very well, as he will be part of a differnt group
« Last Edit: 15 Nov 2004, 01:30:46 by Triggerhappy »

Offline General Barron

  • Former Staff
  • ****
  • Semper Fi!
Re:Open Radio Channels
« Reply #2 on: 15 Nov 2004, 02:26:04 »
Eh... not quite sure why you would need to do all that joining and stuff, since it doesn't really matter WHO says a radio message, for the most part...

Why not just use the globalchat or globalradio commands? Or am I missing something here... perhaps there are also east guys playing, that you don't want to have hear? I assume this is for an MP map...
HANDSIGNALS COMMAND SYSTEM-- A realistic squad-control modification for OFP
kexp.org-- The best radio station in the world, right here at home! Listen to John Richards!

Offline Triggerhappy

  • Contributing Member
  • **
  • Llama, it's what's for dinner.
Re:Open Radio Channels
« Reply #3 on: 15 Nov 2004, 02:55:27 »
i didn't think about globalchat, that is probably the better solution, although shadow said sidechat...
Quote
(custom sideChat ones)
« Last Edit: 15 Nov 2004, 02:55:48 by Triggerhappy »

shadow99

  • Guest
Re:Open Radio Channels
« Reply #4 on: 15 Nov 2004, 03:06:24 »
No this is for Single Player just now.

The West and Res are allies, fighting the Easterns.

There needs to be radio chats between the West and the Res.

Thanks for the replies, but globalchat isn't an option (as you mentioned General, Easterns ARE playing).

I'll try out triggerhappy's one, if I can get my head around it.

Offline General Barron

  • Former Staff
  • ****
  • Semper Fi!
Re:Open Radio Channels
« Reply #5 on: 15 Nov 2004, 03:12:35 »
I don't know if I really understand now... if it is a SP mission, then there is only ONE player playing, and he is the ONLY one who will see the message. So what is wrong with global chat?

If it is to become a MP mission, then I believe you could make only certain players hear the message, even if it is globalchat, by executing the command on only their computers.
HANDSIGNALS COMMAND SYSTEM-- A realistic squad-control modification for OFP
kexp.org-- The best radio station in the world, right here at home! Listen to John Richards!

shadow99

  • Guest
Re:Open Radio Channels
« Reply #6 on: 15 Nov 2004, 04:32:29 »
Yeah you're absolutely right General. I was just being stupid, I don't know what I was thinking.

Thanks for the help.