OnNPCScriptLoad: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<big> | <big> | ||
<poem>'''Description''': | <poem>'''Description''': | ||
::This function is called when a NPC script is loaded. | ::This function is called when a NPC script is loaded. | ||
</poem> | </poem> | ||
'''Parameters:''' | '''Parameters:''' | ||
Line 8: | Line 10: | ||
This callback has no parameters. | This callback has no parameters. | ||
</source> | </source> | ||
<poem> | <poem> | ||
Line 13: | Line 16: | ||
::This callback does not handle returns | ::This callback does not handle returns | ||
</poem> | </poem> | ||
<source lang="lua"> | <source lang="lua"> | ||
function OnNPCScriptLoad() | function OnNPCScriptLoad() |
Revision as of 09:27, 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"); }