radioChannelAdd: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\| *((\[\[[a-zA-Z0-9_ |()]+\]\],? ?)+) * \}\}" to "|seealso= $1 }}") |
BrettMayson (talk | contribs) mNo edit summary |
||
(16 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{RV|type=command | {{RV|type=command | ||
| | |game1= tkoh | ||
|version1= 1.00 | |||
| | |game2= arma3 | ||
|version2= 0.50 | |||
|eff= global | |eff= global | ||
Line 11: | Line 13: | ||
|gr2= Custom Radio and Chat | |gr2= Custom Radio and Chat | ||
| Add the units to the custom channel. | |descr= Add the units to the custom channel. | ||
| customChannelID [[radioChannelAdd]] units | |s1= customChannelID [[radioChannelAdd]] units | ||
|p1= customChannelID: [[Number]] - [[Channel IDs|custom channel ID]] returned by [[radioChannelCreate]] command | |p1= customChannelID: [[Number]] - [[Channel IDs|custom channel ID]] returned by [[radioChannelCreate]] command | ||
|p2= units: [[Array]] - list of units | |p2= units: [[Array]] of [[Object|Unit]]s - list of units | ||
| [[Nothing]] | |r1= [[Nothing]] | ||
|x1= < | |x1= <sqf>2 radioChannelAdd [player, unit1];</sqf> | ||
|seealso= [[radioChannelCreate]] | |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 11:12, 16 June 2024
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 of Units - list of units
- Return Value:
- Nothing
Examples
- Example 1:
Additional Information
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
- 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.