BIS_fnc_sideID

From Bohemia Interactive Community
Revision as of 10:15, 25 March 2018 by Lou Montana (talk | contribs) (Remove placeholder link - added an example to apologise!)
Jump to navigation Jump to search


Hover & click on the images for description

Description

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

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:
sidecountSideCfgVehicles 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