Difference between revisions of "WD2 ScriptHook: Trainer"
From Nomad DB
(Created page with "The ScriptHook Trainer is a built-in Script from ScriptHook. It uses the native Lua functions from Watch Do...") |
|||
Line 19: | Line 19: | ||
| time <hour> <minute> || Changes the current time || '''Example:''' time 12 0 | | time <hour> <minute> || Changes the current time || '''Example:''' time 12 0 | ||
|} | |} | ||
+ | |||
+ | == Related Pages == | ||
+ | * [[WD2 ScriptHook: Console]] | ||
+ | * '''For Developers: ''' [[WD2 ScriptHook: Console Commands]] in [[WD2 ScriptHook: Script|Scripts]] | ||
+ | |||
+ | [[Category:WD2 ScriptHook]] |
Revision as of 13:11, 15 April 2020
The ScriptHook Trainer is a built-in Script from ScriptHook. It uses the native Lua functions from Watch Dogs 2 and provides both menu controls & console commands to interact with the game's world.
For Modders: We recommend checking out the Lua source code from the Trainer to introduce yourself to the ScriptHook. You can also check out this article for more information about the Scripting system.
Controls
Up/Down Arrows | Navigation |
Numpad 8(Up), Numpad 9 (Down) | |
Enter | Confirm Option |
Numpad 5 | |
Delete Key, Numpad 0 | Return back to previous menu |
ESC | Close the menu |
Console Commands (Selection)
This is just a selection of available commands. Read more about the Console here, for a full list of commands use help.
spawn <vehicle name> | Spawns a vehicle | Example: spawn Agile.01 |
god <on/off> | Toggles invincibility / “god mode” | Example: god on |
repairVehicle | Repairs the vehicle you are currently sitting in | Example: repairVehicle |
time <hour> <minute> | Changes the current time | Example: time 12 0 |
Related Pages
- WD2 ScriptHook: Console
- For Developers: WD2 ScriptHook: Console Commands in Scripts