Home   Help Search Login Register  

Author Topic: Remove Radio?  (Read 414 times)

0 Members and 1 Guest are viewing this topic.

Storm-Dk

  • Guest
Remove Radio?
« on: 02 Jan 2004, 00:08:33 »
Hey

Can i remove a radio (the one with 0-0-1 thingy) . Its becaus I need it in multiplayer.
So. Can I make it so its only the officer that has the radio and thos others dont have it?

Offline Burn

  • Members
  • *
Re:Remove Radio?
« Reply #1 on: 02 Jan 2004, 06:03:00 »
index setRadioMsg text

Operand types:
index: Number
text: String
Type of returned value:
Nothing
Description:
Set radio message (0, 0, map radio) to given text. Use "NULL" to disable radio slot.

Example:
0 setRadioMsg "Alpha Radio"

LCD says:
Quote
There is no 0 channel in the radio so making

0 setRadioMsg "Alpha Radio"

will not work.

available channels are from

1-8 in OFP:CWC

and added

9 and 10 in OFP:R
Soo, short n' sweet... 1 setRadioMsg "NULL" ;D

where 1 is the selected radio channel (Alpha)

gundernak

  • Guest
Re:Remove Radio?
« Reply #2 on: 02 Jan 2004, 18:02:14 »
I guess this is what you need. This script will show the radio options only for the unit which you choose as 'player'. This is supposed to be the leader of the group.
Units set to 'playable' will not see and will not be able to activate the radio commands. If the player who started the mission as the unit you set to 'player' dies and respaws to another unit who were originally set to 'playable' WILL BE ABLE to use the radio....

You have to start the script at the very beginning of the mission.

I hope it's not too confusing, but believe me this definetly works...

1 setRadioMsg "NULL"
2 setRadioMsg "NULL"
3 setRadioMsg "NULL"

?(player == leader YourGroupName): 1 setRadioMsg "Call in Reinforcemen"
?(player == leader YourGroupName): 2 setRadioMsg "Call in Airstrike"
?(player == leader YourGroupName): 3 setRadioMsg "blablablabla"

~1

exit