🍁
FF12 Lua Loader
  • Home
  • Getting Started
    • Resources
  • General
    • Functions
      • Get Lib Version
      • Check Min Version
  • Events
    • Types
    • Events
      • Exit
      • On Init Done
      • On Flip
      • On Map Jump
      • On Save Load
      • On Open File
    • Functions
      • Sleep
      • Get Clock
      • Execute After Ms
      • Register Event Sync
      • Unregister Event Sync
      • Register Event Async
      • Unregister Event Async
      • Register Save Handler
        • Callback
      • Unregister Save Handler
      • Register Load Handler
        • Callback
      • Unregister Load Handler
      • Create Flag
      • Set Flag
      • Get Flag
      • Delete Flag
      • Delete All Flags
      • Wait Flag
      • Register Flag Callback
      • Unregister Flag Callback
      • Get My Flags
      • Get All Flags
  • Memory / Save
    • Tables
      • Arg
    • Functions
      • Create Trampoline
      • Remove Trampoline
      • Create Hook
      • Remove Hook
      • Alloc Exe
      • Dealloc Exe
      • Alloc
      • Dealloc
      • Load File
      • Parse
      • Assemble
      • Execute
      • Execute A
      • Read S8
      • Read U8
      • Read S16
      • Read U16
      • Read S32
      • Read U32
      • Read S64
      • Read U64
      • Read Float
      • Read Double
      • Read Array
      • Write S8
      • Write U8
      • Write S16
      • Write U16
      • Write S32
      • Write U32
      • Write S64
      • Write U64
      • Write Float
      • Write Double
      • Write Array
      • Get Symbol
      • Register Symbol
      • Register Global Symbol
      • Unregister Symbol
      • Unregister Global Symbol
      • Unregister All Symbols
      • Unregister All Local Symbols
      • Unregister All Global Symbols
  • Message
    • Functions
      • Convert
      • Print
      • Print W
      • Close
  • Config
    • Functions
      • Save Json
      • Load Json
    • Tables
      • Path
  • Input
    • Tables
      • Key
    • Functions
      • Get Key Pressed
Powered by GitBook
On this page
  1. Events

Functions

Name
Description
Sleep

Pauses the execution of the current thread for the specified time-out interval.

Get Clock

Returns the current system time in milliseconds.

Execute After Ms

Asynchronously executes a function after a specific time.

Register Event Sync

Registers an event handler that will be triggered synchronously when the specified event occurs.

Unregister Event Sync

Unregisters an event handler that was synchronously fired, stopping it from being executed in future occurrences of the specified event.

Register Event Async

Registers an event handler that will be triggered asynchronously when the specified event occurs.

Unregister Event Async

Unregisters an event handler that was asynchronously fired, stopping it from being executed in future occurrences of the specified event.

Register Save Handler

Registers a save handler for a specific identifier that stores additional information for a save game.

Unregister Save Handler

Unregisters a save handler for a specific identifier, preventing it from being executed in future occurrences of a save game being saved.

Register Load Handler

Registers a load handler for a specific identifier that loads additional information for a save game.

Unregister Load Handler

Unregisters a load handler for a specific identifier, preventing it from being executed in future occurrences of a save game being loaded.

Create Flag

Creates a flag that can be used to communicate between different scripts.

Set Flag

Sets a flag to a specified value.

Get Flag

Returns the value of a specified flag.

Delete Flag

Deletes one or more flags specified by their names owned by the current script.

Delete All Flags

Deletes all flags created by the current script.

Wait Flag

Waits until a flag is created by any script.

Register Flag Callback

Registers a handler that will be triggered asynchronously when the specified flag is created, set or deleted.

Unregister Flag Callback

Unregisters a handler, preventing it from being executed on future changes to the specified flag.

Get My Flags

Returns a table of strings with all flag names of the current script.

Get All Flags

Returns a table of strings with all flag names of all scripts.

PreviousOn Open FileNextSleep

Last updated 1 month ago