BIS fnc sideType: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Some wiki formatting)
m (Text replacement - " *; * +\|p1=" to " |p1=")
Line 8: Line 8:
|descr= Returns side type based on side ID. See [[BIS_fnc_sideID]] for more information.
|descr= Returns side type based on side ID. See [[BIS_fnc_sideID]] for more information.


|s1= sideID call [[BIS_fnc_sideType]];
|s1= sideID call [[BIS_fnc_sideType]]


|p1= sideID - [[Number]] - Side ID.
|p1= sideID - [[Number]] - Side ID.

Revision as of 21:41, 12 June 2021

Hover & click on the images for description

Description

Description:
Returns side type based on side ID. See BIS_fnc_sideID for more information.
Execution:
call
Groups:
Sides

Syntax

Syntax:
sideID call BIS_fnc_sideType
Parameters:
sideID - Number - Side ID.
Return Value:
Side - Side based on side ID

Examples

Example 1:
0 call BIS_fnc_sideType; // returns EAST

Additional Information

See also:
SideBIS_fnc_sideIDsidecountSideCfgVehicles 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