OnNPCScriptLoad: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
'''Description''': This function is called when a NPC script is loaded. | '''Description''': This function is called when a NPC script is loaded. | ||
'''Parameters:''' | '''Parameters:''' | ||
<source lang="lua"> | <source lang="lua"> | ||
This | This callback has no parameters. | ||
</source> | </source> | ||
'''Return Values:''' | '''Return Values:''' | ||
This callback does not handle returns | |||
<source lang="lua"> | <source lang="lua"> | ||
function OnNPCScriptLoad() | function OnNPCScriptLoad() |
Revision as of 09:17, 9 March 2022
Description: This function is called when a NPC script is loaded.
Parameters:
This callback has no parameters.
Return Values: This callback does not handle returns
function OnNPCScriptLoad() { print("NPC script loaded\n"); }