radioChannelAdd: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " \| *(game[0-9]|version[0-9]|gr[0-9]|serverExec|mp|pr|descr|s[0-9]|p[0-9]{1,3}|r[0-9]|x1?[0-9]|seealso) *= +" to " |$1= ")
No edit summary
 
(7 intermediate revisions by one other user not shown)
Line 23: Line 23:
|r1= [[Nothing]]
|r1= [[Nothing]]


|x1= <code>2 [[radioChannelAdd]] [<nowiki/>[[player]], unit1];</code>
|x1= <sqf>2 radioChannelAdd [player, unit1];</sqf>


|seealso= [[radioChannelCreate]], [[radioChannelRemove]], [[radioChannelSetCallSign]], [[radioChannelSetLabel]]
|seealso= [[radioChannelCreate]] [[radioChannelRemove]] [[radioChannelSetCallSign]] [[radioChannelSetLabel]]
}}
 
{{Note
|user= Hypoxic125
|timestamp= 20221101063641
|text= Units are removed from the chat channel on RESPAWN. Be sure to add units back to their custom chat channels upon respawn via [[Event_Scripts#onPlayerRespawn.sqf|onPlayerRespawn.sqf]] or [[Arma_3:_Event_Handlers#Respawn|Respawn Event Handler]].
}}
}}

Latest revision as of 08:36, 1 November 2022

Hover & click on the images for description

Description

Description:
Add the units to the custom channel.
Groups:
Radio and ChatCustom Radio and Chat

Syntax

Syntax:
customChannelID radioChannelAdd units
Parameters:
customChannelID: Number - custom channel ID returned by radioChannelCreate command
units: Array - list of units
Return Value:
Nothing

Examples

Example 1:
2 radioChannelAdd [player, unit1];

Additional Information

See also:
radioChannelCreate radioChannelRemove radioChannelSetCallSign radioChannelSetLabel

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note
Hypoxic125 - c
Posted on Nov 01, 2022 - 06:36 (UTC)
Units are removed from the chat channel on RESPAWN. Be sure to add units back to their custom chat channels upon respawn via onPlayerRespawn.sqf or Respawn Event Handler.