BIS fnc phoneticalWord: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "|= Comments" to "|Comments=")
m (Text replacement - "|= Game version" to "|Game version=")
Line 5: Line 5:
| arma3 |= Game name
| arma3 |= Game name


|1.00|= Game version
|1.00|Game version=
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 22:55, 30 August 2019


Hover & click on the images for description

Description

Description:
Convert integer to NATO phonetical alphabet word (e.g. 2 becomes "Bravo") or letter of alphabet.
Execution:
call
Groups:
Uncategorised

Syntax

Syntax:
[integer,short] call BIS_fnc_phoneticalWord;
Parameters:
integer:: Integer - Any integer from 1 to 26.
short:: Boolean - true for the short version, false for the long version.
Return Value:
String - Phonetical word or letter of alphabet. In case of full word the returned string is localised.

Examples

Example 1:
[ 1 ] call BIS_fnc_phoneticalWord; //Returns "Alpha"
Example 2:
[ 1,true ] call BIS_fnc_phoneticalWord //Returns "A"

Additional Information

See also:
BIS_fnc_ordinalNumberBIS_fnc_romanNumeral

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