Skip to content

Global Variables

commy2 edited this page Dec 12, 2017 · 1 revision

Variable: cba_common, cba_events, cba_keybinding etc.

Description:

If undefined, component is not present.
If false, error occured during component initialization.
If true, component active.


Variable: cba_common_addons

Description:

Array of all CfgPatches classnames.


Variable: CBA_logic

Description:

Alias for bis_functions_mainscope. Game logic present in every mission.


Variable: CBA_missionTime

Description:

Fully savegame, multiplayer, pause and time acceleration compatible, and join in progress synched alternative to time and serverTime based on the machine clock. Updated every frame. May be -1 on dedicated clients in preInit.


Variable: CBA_clientID

Description:

Local hosted multiplayer compatible alternative to clientOwner.


Variable: cba_events_shift, cba_events_control, cba_events_alt

Description:

True if key is held down, false otherwise. Undefined on machines without interface (dedicated server, headless client).


Variable: CBA_PARAM_R, CBA_YTAB, CBA_KTAB, CBA_WTAB

Description:

Gaussian random number generated lookup tables.