OnNPCScriptLoad: Difference between revisions

From NPC for VCMP 0.4 Servers
Jump to navigation Jump to search
No edit summary
No edit summary
Line 9: Line 9:
</source>
</source>


 
<poem>
'''Return Values:'''
'''Return Values:'''
This callback does not handle returns
This callback does not handle returns
 
</poem>
<source lang="lua">
<source lang="lua">
function OnNPCScriptLoad()
function OnNPCScriptLoad()

Revision as of 09:25, 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");
}