BIS fnc sideType: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (More see also)
m (template:command argument fix)
Line 8: Line 8:
____________________________________________________________________________________________
____________________________________________________________________________________________


|Returns side type based on side ID. See [[BIS_fnc_sideID]] for more information.|= Description
|Returns side type based on side ID. See [[BIS_fnc_sideID]] for more information.|DESCRIPTION=
____________________________________________________________________________________________
____________________________________________________________________________________________


| sideID call [[BIS_fnc_sideType]];|= Syntax
| sideID call [[BIS_fnc_sideType]];|SYNTAX=


|p1= sideID - [[Number]] - Side ID.|= Parameter 1
|p1= sideID - [[Number]] - Side ID.|PARAMETER1=




|[[Side]] - Side based on side ID|= Return value
|[[Side]] - Side based on side ID|RETURNVALUE=
____________________________________________________________________________________________
____________________________________________________________________________________________


Line 22: Line 22:
____________________________________________________________________________________________
____________________________________________________________________________________________


|[[Side]], [[BIS_fnc_sideID]], [[side]], [[countSide]], [[CfgVehicles_Config_Reference#side|CfgVehicles config side value]], [[Side]], [[playerSide]], [[west]], [[east]], [[resistance]], [[civilian]], [[sideLogic]], [[sideFriendly]], [[sideEnemy]], [[sideUnknown]], [[sideEmpty]], [[sideAmbientLife]], [[Side relations]]  |= See also
|[[Side]], [[BIS_fnc_sideID]], [[side]], [[countSide]], [[CfgVehicles_Config_Reference#side|CfgVehicles config side value]], [[Side]], [[playerSide]], [[west]], [[east]], [[resistance]], [[civilian]], [[sideLogic]], [[sideFriendly]], [[sideEnemy]], [[sideUnknown]], [[sideEmpty]], [[sideAmbientLife]], [[Side relations]]  |SEEALSO=


}}
}}

Revision as of 15:33, 7 April 2019


-wrong parameter ("a3") defined!-[[:Category:Introduced with a3 version 1.00|1.00]]
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:
Uncategorised

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

[[Category:Introduced with a3 version 1.00]][[ Category: a3: New Functions | BIS FNC SIDETYPE]][[ Category: a3: Functions | BIS FNC SIDETYPE]]

Notes

Bottom Section