Difference between revisions of "WD2 ScriptHook: Trainer"

From Nomad DB
 
Line 1: Line 1:
 +
{{Page_WD2}}
 
The ScriptHook Trainer is a built-in [[WD2 ScriptHook: Script|Script]] from [[WD2 ScriptHook|ScriptHook]]. It uses the native [[WD2 Lua Functions|Lua functions]] from Watch Dogs 2 and provides both menu controls & console commands to interact with the game's world.
 
The ScriptHook Trainer is a built-in [[WD2 ScriptHook: Script|Script]] from [[WD2 ScriptHook|ScriptHook]]. It uses the native [[WD2 Lua Functions|Lua functions]] from Watch Dogs 2 and provides both menu controls & console commands to interact with the game's world.
  

Latest revision as of 20:18, 27 October 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

To open the Menu, press F4.

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
hud <on/off> Toggle the HUD visibility state Example: hud off

Related Pages