Difference between revisions of "NCScriptsObjectFunctions"

From Legends of Aria Admin and Modding Wiki
Jump to: navigation, search
(Created page with "<center><p style="color: #DDDD88;font-size: 24px">General Script Information</p></center> <center><p style="width: 60%">Below is a table showing the various script examples, h...")
 
Line 4: Line 4:
 
{| class="wikitable" | style="width: 60%"
 
{| class="wikitable" | style="width: 60%"
 
|-
 
|-
|style="width: 25%"| [[NCScriptsGlobalFunctions|Global Functions]] || Section devoted to Global Function Examples.
+
|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.
|-
 
| [[NCScriptsObjectFunctions|Object Functions]] || Section devoted to Object Function Examples.
 
|-
 
| [[NCScriptsObjectEventHandling|Event Handling]] || Section devoted to Event Handling Examples.
 
 
</center>
 
</center>

Revision as of 08:14, 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.