0 of 0

File information

Last updated

Original upload

Created by

DrRak72

Uploaded by

DrRak72

Virus scan

Safe to use

Tags for this mod

About this mod

A small library enabling easier access to LUA interop functions.

Requirements
Permissions and credits
Changelogs
Donations
RakLib is a compact library providing a simple interface for new and veteran modders to access LUA interop functions without having to write their own.

To use RakLib in your LUA mod, simply add 
local RakLib = require("./RakLib")
near the top of your main.lua file.


========== LUA functionality ==========

- Easy OnTick hook:
RegisterCustomEvent("RakLibTick", callback)
- Easy OnTick execution in the game thread, with queueing to ensure one function call per tick no matter how rapidly functions are added:
RakLib:ExecuteOnNextTick(callback)

========== BP functionality ==========

- Easy NotifyOnNewObject hooking (works for actors too!):
- Create a function in your blueprint with this exact name and two string inputs:
 

- Call the function with the class name as the first parameter and the name of your callback function as the second:

  翻译: