BIS fnc sideType: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " *\|= * " to " ")
m (Text replacement - " *\| *([Cc]omments|COMMENTS|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments \("local" or "global"\)|Multiplayer Effects \("local" or "global"\)|Multiplayer Execution \("server" o...)
Line 1: Line 1:
{{Function|Comments=
{{Function


| a3 |Game name=
| a3


|1.00|Game version=
|1.00


|gr1 = Sides |GROUP1=
|gr1 = Sides


|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.


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


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




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


|x1= <code>0 [[call]] [[BIS_fnc_sideType]];//Returns EAST</code>
|x1= <code>0 [[call]] [[BIS_fnc_sideType]];//Returns EAST</code>


|[[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=
|[[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]]


}}
}}

Revision as of 00:44, 18 January 2021

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

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

Bottom Section