Difference between revisions of "ScriptHook: Console"

From Nomad DB
Line 3: Line 3:
 
[[File:Wd2sh console.jpeg|thumb]]
 
[[File:Wd2sh console.jpeg|thumb]]
 
== Built-in Commands ==
 
== Built-in Commands ==
The [script] parameter refers to the Script's directory name below ''data/scripts''.
+
==== help ====
 +
Prints a full list of available commands, including [[WD2 ScriptHook: Console Commands|custom commands]] from Scripts.
  
 
==== load [script] ====
 
==== load [script] ====
Loads a Script by name.
+
Loads a Script by name. The [script] parameter refers to the Script's directory name below ''data/scripts''.
  
 
==== unload [script] ====
 
==== unload [script] ====

Revision as of 13:07, 15 April 2020

The Ingame Console can be opened using F1, unless you modify config.json to change the Key binding. It can be used to manage script loading/unloading and is extended by custom Console Commands from Scripts.

Wd2sh console.jpeg

Built-in Commands

help

Prints a full list of available commands, including custom commands from Scripts.

load [script]

Loads a Script by name. The [script] parameter refers to the Script's directory name below data/scripts.

unload [script]

Unloads a Script.

reload [script]

Reloads a Script.

Trainer

The Trainer provides console commands to interact with the game's world.

Related Pages