roleDescription: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(Works in MP and SP)
(example)
Line 15: Line 15:


| [[String]] |= Return value
| [[String]] |= Return value
|x1= <code>_playerRole = [[roleDescription]] [[player]];</code>|= EXAMPLE1
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 12:54, 29 June 2015

-wrong parameter ("arma3dev") defined!-[[:Category:Introduced with arma3dev version 1.47|1.47]]
Hover & click on the images for description

Description

Description:
Returns unit description set in Editor and visible on role selection screen in MP. Works in MP and SP.
Groups:
Uncategorised

Syntax

Syntax:
roleDescription unit
Parameters:
unit: Object
Return Value:
String

Examples

Example 1:
_playerRole = roleDescription player;

Additional Information

See also:
namegetPlayerUIDvehicleVarNameworldNamebriefingNamemissionNameserverName

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

[[Category:Introduced with arma3dev version 1.47]][[ Category: arma3dev: New Scripting Commands | ROLEDESCRIPTION]][[ Category: arma3dev: Scripting Commands | ROLEDESCRIPTION]]

Notes

Bottom Section