Difference between revisions of "NCScriptsObjectFunctions"

From Legends of Aria Admin and Modding Wiki
Jump to: navigation, search
Line 5: Line 5:
 
|-
 
|-
 
|style="width: 40%"| <p style="color: #DDDD88;font-size: 18px;padding: 0px;margin: 0px">AddModule(filename,table)</p>filename - Name of script file<br>table - Initializer table || The table may be omitted but allows you to send a table package to the script, then use the ModuleAttached Event to handle the table package.
 
|style="width: 40%"| <p style="color: #DDDD88;font-size: 18px;padding: 0px;margin: 0px">AddModule(filename,table)</p>filename - Name of script file<br>table - Initializer table || The table may be omitted but allows you to send a table package to the script, then use the ModuleAttached Event to handle the table package.
 +
</center>
 +
<center>
 +
 
</center>
 
</center>

Revision as of 08:17, 8 November 2019

General Script Information

Below is a table showing the various script examples, here is a Legends of Aria Lua Reference.

AddModule(filename,table)

filename - Name of script file
table - Initializer table
The table may be omitted but allows you to send a table package to the script, then use the ModuleAttached Event to handle the table package.