BIS fnc sideType: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " *\|= * " to " ") |
Lou Montana (talk | contribs) 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 | {{Function | ||
| a3 | | a3 | ||
|1.00 | |1.00 | ||
|gr1 = Sides | |gr1 = Sides | ||
|Returns side type based on side ID. See [[BIS_fnc_sideID]] for more information. | |Returns side type based on side ID. See [[BIS_fnc_sideID]] for more information. | ||
| sideID call [[BIS_fnc_sideType]]; | | sideID call [[BIS_fnc_sideType]]; | ||
|p1= sideID - [[Number]] - Side ID. | |p1= sideID - [[Number]] - Side ID. | ||
|[[Side]] - Side based on side ID | |[[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]] | |[[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
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]]