Module ORGM.Callbacks

Callback functions for various shared events.

All events are hooked in ORGMEvents.lua and call these functions. It is unlikely that you will need to call any of these functions manually.

Info:

  • Copyright: 2018 File: shared/2LoadOrder/ORGMCallbacks.lua
  • Release: 3.09
  • Author: Fenris_Wolf

Functions

validateSettings () Checks the values in the ORGM.Settings table and ensures they conform to expected values.
limitFirearmYear () Removes firearm spawning from guns manufactured later then the year specified in the ORGM.Settings table.
loadPatches () Loads any shared compatibility patches for mods.
loadBackPatches () Sets up any backwards compatibility patches.
loadSoundBanks () Adds any sounds in the Sound setup queue to the FMOD soundbanks.


Functions

validateSettings ()
Checks the values in the ORGM.Settings table and ensures they conform to expected values.

For invalid values it will set to defaults and logs errors.

This is triggered by Events.OnGameBoot.

limitFirearmYear ()
Removes firearm spawning from guns manufactured later then the year specified in the ORGM.Settings table.

This is triggered by Events.OnGameBoot.

loadPatches ()
Loads any shared compatibility patches for mods.

This is triggered by Events.OnGameBoot.

loadBackPatches ()
Sets up any backwards compatibility patches.

This is triggered by Events.OnGameBoot.

loadSoundBanks ()
Adds any sounds in the Sound setup queue to the FMOD soundbanks.

This is triggered by Events.OnLoadSoundBanks.

generated by LDoc 1.4.3 Last updated 2018-10-07 13:48:49