Difference between revisions of "MDE ScriptHook: Trainer"
From Nomad DB
Line 1: | Line 1: | ||
− | The ScriptHook Trainer is a built-in [[MDE ScriptHook: Script|Script]] from [[MDE ScriptHook|ScriptHook]]. It uses the native [[MDE Scripting#Game|Lua functions and classes]] from '''Mafia: Definitive Edition''' and provides both menu controls & console commands to interact with the game's world. | + | The ScriptHook Trainer is a built-in [[MDE ScriptHook: Script|Script]] from [[MDE ScriptHook|ScriptHook]]. It uses the native [[MDE Scripting#Game Scripting|Lua functions and classes]] from '''Mafia: Definitive Edition''' 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. | '''For Modders: ''' We recommend checking out the Lua source code from the Trainer to introduce yourself to the ScriptHook. |
Revision as of 14:13, 6 October 2020
The ScriptHook Trainer is a built-in Script from ScriptHook. It uses the native Lua functions and classes from Mafia: Definitive Edition 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 |
Related Pages
- ScriptHook: Console
- For Developers: MDE: Console Commands in Scripts