LoadAnim

The SD.LoadAnim module is a specialized utility within the SD library designed to manage the loading of animation dictionaries.

Overview

Purpose: Facilitates the reliable loading of animation dictionaries necessary for gameplay, providing a robust mechanism to ensure that animations are available when required without causing runtime errors due to unloaded assets.

Parameters

  • animDict (string): The name of the animation dictionary to be loaded. This must be a valid string that corresponds to an existing animation dictionary in the game's assets.

Usage Example

-- Example of loading an animation dictionary
SD.LoadAnim('mp_safehousevagos@')

Last updated