Difference between revisions of "MDE ScriptHook: Lua Functions"
From Nomad DB
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
+ | {{Page_MDE}} | ||
[[MDE ScriptHook|ScriptHook]] registers custom [[Lua]] functions to the game's scripting system. These functions extend the [[MDE Scripting|built-in Lua functions]] and provide additional functionality. | [[MDE ScriptHook|ScriptHook]] registers custom [[Lua]] functions to the game's scripting system. These functions extend the [[MDE Scripting|built-in Lua functions]] and provide additional functionality. | ||
Line 7: | Line 8: | ||
===Script=== | ===Script=== | ||
− | *[[MDE ScriptHook: Script Table|ScriptHook.CurrentScript | + | *[[MDE ScriptHook: Script Table|ScriptHook.CurrentScript]] |
*[[ScriptHook.RegisterKeyHandler]] | *[[ScriptHook.RegisterKeyHandler]] | ||
*[[ScriptHook.RegisterCommand]] | *[[ScriptHook.RegisterCommand]] | ||
+ | *[[ScriptHook.GetScript]] | ||
+ | *[[ScriptHook.GetAllScripts]] | ||
===UI=== | ===UI=== |
Latest revision as of 20:14, 8 October 2021
ScriptHook registers custom Lua functions to the game's scripting system. These functions extend the built-in Lua functions and provide additional functionality.
Contents
Generic
Script
- ScriptHook.CurrentScript
- ScriptHook.RegisterKeyHandler
- ScriptHook.RegisterCommand
- ScriptHook.GetScript
- ScriptHook.GetAllScripts