Resource icon

Hook Library v1.0.1

Snu

YEAAHHHHHHHHH
Snu submitted a new resource:

Hook Library (+ Wall Collision Example Hook) - A library to create custom hooks in Lua!

What originally started as a fix for potential conflicts between scripts, this is a library to easily create custom hooks within Lua scripts!

First off, put everything in Lua/hooklib.lua inside your file to load the library for use within your scripts.
You can use the function hookLib.RunHook(string hookname, ...) in your script to determine where you want your custom hook to run its hooked functions, with ... being the arguments a hooked...

Read more about this resource...
 
Snu updated Hook Library (+ Wall Collision Example Hook) with a new update entry:

Long overdue removal.

Quickly updating this to remove the wall collision example from the library.
This example ended up breaking many characters that used p.lastlinehit to detect walls in their script, so it's been removed. If any mods happened to be using this wall collision example, I heavily recommend removing it to avoid conflicts!

This should've been done way sooner, but it completely skipped my mind.

Read the rest of this update entry...
 

Who is viewing this thread (Total: 1, Members: 0, Guests: 1)

Back
Top