This repository has been archived by the owner on Nov 27, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 36
Global Variables
James Wilkinson edited this page Aug 11, 2017
·
1 revision
A variable containing the name and path of the Payday lua file that will be run, or was previously run.
Hook: lib/setups/gamesetup
File: my_mod.lua
RequiredScript: lib/setups/gamesetup
Pre-Hook: lib/managers/menumanager
File: my_mod.lua
RequiredScript: lib/managers/menumanager
A variable containing the path of the mod that is currently being loaded. This value should be cached if it is intended to be used at some point in the future, such as in a Hook.
ModPath: mods/my_example_mod
A variable containing the path of the mod that is currently being loaded via a persist script. This value should be cached if it is intended to be used at any point in the future that is not immediate, such as in a Hook.
PersistScriptPath: mods/my_example_mod
A variable containing the path to the mods logs folder.
LogsPath: mods/logs/
A variable containing the path to the save files folder.
SavePath: mods/saves/