Lua Hooks

From SOPWiki

Revision as of 01:26, 16 June 2008 by Drunken F00l (Talk | contribs)
(diff) ←Older revision | Current revision (diff) | Newer revision→ (diff)
Jump to: navigation, search
Lua Previous category:
Lua

Hooks allow Lua scripts to hook into game events and other functions. When a game event occurs, the corresponding hooks are executed with that event.

Hooks can be added with the hook.Add function. The function takes a hook name which can be any from the list below.

Personal tools