BIS fnc playerName: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "|= Game version" to "|Game version=")
m (Text replacement - "code>_([a-zA-Z0-9_]+) = " to "code>private _$1 = ")
(24 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Function|Comments=
{{RV|type=function
____________________________________________________________________________________________


| tkoh |Game name=
|game1= tkoh
|version1= 1.00


|1.00|Game version=
|game2= arma3
____________________________________________________________________________________________
|version2= 0.50


| Return current profile's name. Deprecated since {{arma3}}, use [[profileName]] instead. |DESCRIPTION=
|gr1= Object Manipulation
____________________________________________________________________________________________


| call [[BIS_fnc_playerName]] |SYNTAX=
|descr= Return current profile's name. Deprecated since {{arma3}}, use [[profileName]] instead.


| [[String]] - [[profileName]] |RETURNVALUE=
|s1= call [[BIS_fnc_playerName]]
____________________________________________________________________________________________


|x1= <code>_myPlayerName = [[call]] [[BIS_fnc_playerName]];</code> |EXAMPLE1=
|r1= [[String]] - [[profileName]]
____________________________________________________________________________________________


| [[profileName]] |SEEALSO=
|x1= <code>[[private]] _myPlayerName = [[call]] [[BIS_fnc_playerName]];</code>
 
|seealso= [[profileName]]
}}
}}
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->
<!-- Note Section END -->
</dl>
<h3 style="display:none">Bottom Section</h3>
[[Category:Function Group: Misc|{{uc:playerName}}]]
[[Category:Functions|{{uc:playerName}}]]
[[Category:{{Name|tkoh}}: Functions|{{uc:playerName}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:playerName}}]]

Revision as of 13:06, 6 May 2022

Hover & click on the images for description

Description

Description:
Return current profile's name. Deprecated since Arma 3, use profileName instead.
Execution:
call
Groups:
Object Manipulation

Syntax

Syntax:
call BIS_fnc_playerName
Return Value:
String - profileName

Examples

Example 1:
private _myPlayerName = call BIS_fnc_playerName;

Additional Information

See also:
profileName

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