# Sides (functions)

- [BIS_fnc_areFriendly](../../functions/BIS_fnc_areFriendly.md): Function that takes two Sides and compares them, returning whether they are friendly or not.
- [BIS_fnc_enemySides](../../functions/BIS_fnc_enemySides.md): Returns sides hostile to the given side / object.
- [BIS_fnc_friendlySides](../../functions/BIS_fnc_friendlySides.md): Returns sides allied to the given side / object.
- [BIS_fnc_FTLmanager](../../functions/BIS_fnc_FTLmanager.md): FTL (Friendly To Local) manager tracks relationship between player and civilian side.
- [BIS_fnc_getFactions](../../functions/BIS_fnc_getFactions.md): Gets list and sides of current factions.
- [BIS_fnc_objectSide](../../functions/BIS_fnc_objectSide.md): Returns object side as defined in config (i.e. not affected by dynamic changing like rating)
- [BIS_fnc_playerSideFaction](../../functions/BIS_fnc_playerSideFaction.md): Return representative faction of the given side. Faction of the first detected player is used.
- [BIS_fnc_respect](../../functions/BIS_fnc_respect.md): RESpect - The Effective Calculation Process.
- [BIS_fnc_sideColor](../../functions/BIS_fnc_sideColor.md): Returns colour of define side either as Array in format RGBA or the name of the colour as String
- [BIS_fnc_sideID](../../functions/BIS_fnc_sideID.md): Return config side number. - 0 = opfor (east) - 1 = blufor (west) - 2 = independent (resistance) - 3 = civilian - 4 = sideUnknown - 5 = sideEnemy - 6 = sideFriendly - 7 = sideLogic - 8 = sideEmpty - 9 = sideAmbientLife
- [BIS_fnc_sideIsEnemy](../../functions/BIS_fnc_sideIsEnemy.md): Determines if side B is enemy to side A the way the game engine does it. The relationship table can be found here: Side Relations.
- [BIS_fnc_sideIsFriendly](../../functions/BIS_fnc_sideIsFriendly.md): Determines if side B is friendly to side A the way the game engine does it. The relationship table can be found here: Side Relations.
- [BIS_fnc_sideName](../../functions/BIS_fnc_sideName.md): Returns localized side name. - 0 / opfor (east) = "OPFOR" - 1 / blufor (west) = "BLUFOR" - 2 / independent (resistance) = "Independent" - 3 / civilian = "Civilian" - 4 / sideUnknown = "Unknown" - 5 / sideEnemy = "Enemy"…
- [BIS_fnc_sideNameUnlocalized](../../functions/BIS_fnc_sideNameUnlocalized.md): Returns unlocalized side name.
- [BIS_fnc_sideType](../../functions/BIS_fnc_sideType.md): Returns side type based on side ID. See BIS_fnc_sideID for more information.
- [BIS_fnc_tridentClient](../../functions/BIS_fnc_tridentClient.md): *N/A*
- [BIS_fnc_tridentExecute](../../functions/BIS_fnc_tridentExecute.md): Execute a code based on Trident relationship.
- [BIS_fnc_tridentGetRelationship](../../functions/BIS_fnc_tridentGetRelationship.md): Gets the relationship of competing Trident sides. The value slowly decreases towards 0.
- [BIS_fnc_tridentHandleDamage](../../functions/BIS_fnc_tridentHandleDamage.md): Register a unit as Trident unit. When competing sides are still friendly and the unit is killed by the competing side, the killer won't be punsihed by negative score. Instead, Trident relationship will decrease.
- [BIS_fnc_tridentSetRelationship](../../functions/BIS_fnc_tridentSetRelationship.md): Set relationship of competing Trident sides. When the value reaches threshold, side relationship will change. The value slowly decreases towards 0.
