BIS fnc sideID: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
m (Text replacement - "\[\[Category\:Function Group\: Sides(\|\{\{[a-zA-Z0-9_:]+\}\})?\]\]" to "")
Line 47: Line 47:


<h3 style="display:none">Bottom Section</h3>
<h3 style="display:none">Bottom Section</h3>
[[Category:Function Group: Sides|{{uc:sideID}}]]
 
[[Category:Functions|{{uc:sideID}}]]
[[Category:Functions|{{uc:sideID}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:sideID}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:sideID}}]]

Revision as of 12:00, 12 October 2020


Hover & click on the images for description

Description

Description:
Return config side number.
Execution:
call
Groups:
Sides

Syntax

Syntax:
testedSide call BIS_fnc_sideID
Parameters:
testedSide: Side - the tested side (west, east, etc.)
Return Value:
Number

Examples

Example 1:
west call BIS_fnc_sideID; // returns 1
Example 2:
hint format ["Your side (%1) ID is %2", playerSide, playerSide call BIS_fnc_sideID];

Additional Information

See also:
BIS_fnc_sideTypesidecountSideCfgVehicles config side valueSideplayerSidewesteastresistanceciviliansideLogicsideFriendlysideEnemysideUnknownsideEmptysideAmbientLifeSide relations

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