Difference between revisions of "WD2 ScriptHook: Lua Functions"

From Nomad DB
(One intermediate revision by the same user not shown)
Line 14: Line 14:
  
 
*[[UI.SimpleMenu]]
 
*[[UI.SimpleMenu]]
 +
*[[UI.SimpleTextInput]]
 
*[[ScriptHook.ShowNotification]]
 
*[[ScriptHook.ShowNotification]]
 
*[[ScriptHook.IsIngameUIEnabled]]
 
*[[ScriptHook.IsIngameUIEnabled]]
Line 32: Line 33:
 
*[[ScriptHook.GetGraphicKitModelByEntityId]]
 
*[[ScriptHook.GetGraphicKitModelByEntityId]]
 
*[[ScriptHook.SetEntityGraphicKitModel]]
 
*[[ScriptHook.SetEntityGraphicKitModel]]
 +
*[[ScriptHook.GetAllEntities]]
 +
*[[ScriptHook.GetEntitiesInRange]]
 +
*[[ScriptHook.GetEntitiesWithComponent]]
 +
*[[ScriptHook.GetEntityComponents]]
 +
*[[ScriptHook.EntityHasComponent]]
 +
*[[ScriptHook.GetEntityClassName]]
  
 
===Vehicle===
 
===Vehicle===

Revision as of 21:55, 2 August 2020

ScriptHook registers custom Lua functions to the game's scripting system. These functions extend the built-in Lua functions and Game classes and provide additional functionality.

Generic

Script

UI

Game Functions

Player

Entity

Vehicle

Felony

Game

Camera

Utility

timer