BIS fnc sideType: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "Side relations" to "Side Relations")
m (Text replacement - "(\|[pr][0-9]+ *= *[^-\r\n]+) *- *S([a-z])" to "$1 - s$2")
 
Line 12: Line 12:
|p1= sideID - [[Number]] - Side ID.
|p1= sideID - [[Number]] - Side ID.


|r1= [[Side]] - Side based on side ID
|r1= [[Side]] - side based on side ID


|x1= <sqf>0 call BIS_fnc_sideType; // returns EAST</sqf>
|x1= <sqf>0 call BIS_fnc_sideType; // returns EAST</sqf>

Latest revision as of 15:44, 8 November 2023

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:
Side BIS_fnc_sideID side countSide CfgVehicles config side value Side playerSide west east resistance civilian sideLogic sideFriendly sideEnemy sideUnknown sideEmpty sideAmbientLife Side 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