Mod:Lighthouse Papyrus Extender/Debug

Debug Functions
{| style="width:100%;"
 * valign="top" style="width: 85%;" |

CrashTheGame

 * Crashes the game and provides a Microsoft message box with some info:
 * Name of script that invoked the function call. This is obtained internally
 * Name of the mod that called the function. This is provided by whoever called the function
 * Reason for why a crash was invoked. This is provided by whoever called the function

 DISCLAIMER 
 * As per NexusMods's | File Submission Guidelines, you are not allowed to use this function to intentionally troll users. You are also not allowed to provide false information for the mod's name and reason for the crash. Doing so may result in NexusMods taking administrative action against your mod that breaks these guidelines and your mod will be deleted from the site. I have no control over any of this, nor do I take responsibility for any effects that this may have on your game. Still, I am required to put this info here to inform you that this function should be used only for debugging purposes or as a necessary kill switch

Function CrashTheGame(String sModName, String sCrashReason) global native

DoNothing
Function DoNothing global native

GetGameDirectory

 * Returns a String that contains the path to where the game's executable is located e.g.
 * If an exception is caught, it will output  and output the exception to the VM log

string Function GetGameDirectory global native

GetLighthouseVersion

 * Returns an integer array that represents the current version of the plugin e.g.

int[] Function GetLighthouseVersion global native

GetSystemTime

 * Returns the system time as an integer array

int[] Function GetSystemTime global native


 * valign="top" style="width: 15%;"|


 * }