BIS_fnc_moduleChat

From Bohemia Interactive Community
Jump to navigation Jump to search
Introduced with Arma 3 version 1.00
  Effects of this scripting function are not broadcasted over the network and remain local to the client the function is executed on

Click on the images for descriptions

Introduced in

Game:
Arma 3
Version:
1.00

Description

Description:
Make a list of units use any *chat command (groupChat, vehicleChat, sideChat, commandChat, globalChat).

Syntax

Syntax:
[logic, units, isActivated] call BIS_fnc_moduleChat
Parameters:
logic: Object the logic. Possible setVariable parameters:
units: Array of Objects - list of chatting units
isActivated: Boolean - (Optional, default true) if true, the chat is sent to all units
Return Value:
Boolean - true when done, even if isActivated equals false

Examples

Example 1:
myLogic setVariable ["Channel", "2"]; myLogic setVariable ["Text", "Hello everyone, this is side chat!"]; [myLogic, [player], true] call BIS_fnc_moduleChat;

Additional Information

Execution:
call
Multiplayer:
-
See also:
groupChatvehicleChatsideChatcommandChatglobalChatsystemChat

Notes

Only post proven facts here. Report bugs on the feedback tracker. Use the talk page or the forums for discussions.
Add New Note | How To

Notes

Bottom Section