Sides
20 functions. Also as Markdown for agents.
- BIS_fnc_areFriendlyFunction that takes two Sides and compares them, returning whether they are friendly or not.
- BIS_fnc_enemySidesReturns sides hostile to the given side / object.
- BIS_fnc_friendlySidesReturns sides allied to the given side / object.
- BIS_fnc_FTLmanagerFTL (Friendly To Local) manager tracks relationship between player and civilian side. FTL State can be one of the following: "LOW", "NEUTRAL",…
- BIS_fnc_getFactionsGets list and sides of current factions.
- BIS_fnc_objectSideReturns object side as defined in config (i.e. not affected by dynamic changing like rating)
- BIS_fnc_playerSideFactionReturn representative faction of the given side. Faction of the first detected player is used.
- BIS_fnc_respectRESpect - The Effective Calculation Process. Manages "respect" values: an Array of Numbers in range -1..1, one per faction in the order returned by…
- BIS_fnc_sideColorReturns colour of define side either as Array in format RGBA or the name of the colour as String
- BIS_fnc_sideIDReturn config side number.
- BIS_fnc_sideIsEnemyDetermines 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_sideIsFriendlyDetermines 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_sideNameReturns localized side name.
- BIS_fnc_sideNameUnlocalizedReturns unlocalized side name.
- BIS_fnc_sideTypeReturns side type based on side ID. See BIS_fnc_sideID for more information.
- BIS_fnc_tridentClient
- BIS_fnc_tridentExecuteExecute a code based on Trident relationship.
- BIS_fnc_tridentGetRelationshipGets the relationship of competing Trident sides. The value slowly decreases towards 0.
- BIS_fnc_tridentHandleDamageRegister 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…
- BIS_fnc_tridentSetRelationshipSet relationship of competing Trident sides. When the value reaches threshold, side relationship will change. The value slowly decreases towards 0.