Difference between revisions of "WD2 ScriptHook: Lua Functions"
From Nomad DB
(Created page with " == Generic == * include == Script == * Script() * ScriptHook.RegisterKeyHandler == UI == * UI.SimpleMenu") |
|||
Line 1: | Line 1: | ||
+ | [[WD2 ScriptHook|ScriptHook]] registers custom [[Lua]] functions to the game's scripting system. | ||
== Generic == | == Generic == | ||
* [[include]] | * [[include]] | ||
− | + | === Script === | |
− | == Script == | ||
* [[WD2 ScriptHook: Script Table|Script()]] | * [[WD2 ScriptHook: Script Table|Script()]] | ||
* [[ScriptHook.RegisterKeyHandler]] | * [[ScriptHook.RegisterKeyHandler]] | ||
+ | * [[ScriptHook.RegisterCommand]] | ||
− | == UI == | + | === UI === |
* [[UI.SimpleMenu]] | * [[UI.SimpleMenu]] | ||
+ | * [[ScriptHook.ShowNotification]] | ||
+ | |||
+ | == Game Functions == | ||
+ | === Player === | ||
+ | * [[ScriptHook.AddInventoryItem]] | ||
+ | * [[ScriptHook.Teleport]] | ||
+ | * [[ScriptHook.SetGraphicKitModel]] | ||
+ | === Vehicle === | ||
+ | * [[ScriptHook.RepairLocalPlayerVehicle]] | ||
+ | === Felony === | ||
+ | * [[ScriptHook.ToggleFelonySystem]] | ||
+ | * [[ScriptHook.SetHeatLevel]] | ||
+ | * [[ScriptHook.ClearHeatLevel]] | ||
+ | === Game === | ||
+ | * [[ScriptHook.SetProgression]] |
Revision as of 19:25, 14 April 2020
ScriptHook registers custom Lua functions to the game's scripting system.