vehicleChat: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
(obj must be vehicle not player)
Line 7: Line 7:
____________________________________________________________________________________________
____________________________________________________________________________________________


| Type text to vehicle radio channel. Note: This function only types text to the list, it does not broadcast the message. If you want the message to show on all computers, you have to execute it on them. |= Description
| Type text to vehicle radio channel.
 
This function only types text to the list, it does not broadcast the message. If you want the message to show on all computers, you have to execute it on them.
 
Object parameter must be a vehicle, not a player.
 
If you are in a crew seat (i.e. driver, gunner or commander), then it will include that role in the chat name output (Eg: Driver (you_name): "Message"). |= Description
____________________________________________________________________________________________
____________________________________________________________________________________________


| unitName '''vehicleChat''' text |= Syntax
| vehicleName '''vehicleChat''' text |= Syntax


|p1= unitName: [[Object]] |= Parameter 1
|p1= vehicleName: [[Object]] |= Parameter 1


|p2= text: [[String]] |= Parameter 2
|p2= text: [[String]] |= Parameter 2
Line 19: Line 25:
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
|x1= <code>_soldierOne '''vehicleChat''' "Show this text"</code> |= Example 1
|x1= <code>vehicle player '''vehicleChat''' "Show this text"</code> |= Example 1
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 07:58, 2 February 2009

Hover & click on the images for description

Description

Description:
Type text to vehicle radio channel. This function only types text to the list, it does not broadcast the message. If you want the message to show on all computers, you have to execute it on them. Object parameter must be a vehicle, not a player. If you are in a crew seat (i.e. driver, gunner or commander), then it will include that role in the chat name output (Eg: Driver (you_name): "Message").
Groups:
Uncategorised

Syntax

Syntax:
vehicleName vehicleChat text
Parameters:
vehicleName: Object
text: String
Return Value:
Nothing

Examples

Example 1:
vehicle player vehicleChat "Show this text"

Additional Information

See also:
globalChatgroupChatsideChat

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

Notes

Bottom Section