Difference between revisions of "NDOIL"

From Legends of Aria Admin and Modding Wiki
Jump to: navigation, search
 
Line 5: Line 5:
 
{| class="wikitable" | style="width: 60%"
 
{| class="wikitable" | style="width: 60%"
 
|-
 
|-
|style="width: 40%"| <p style="color: #DDDD88;font-size: 18px">LogChat() || .
+
|style="width: 40%"| <p style="color: #DDDD88;font-size: 18px">LogChat()</p>Params<br>source - chat source<br>chatlog - chat log || Write a line to the chat log for this user.
 
|}
 
|}
 
</center>
 
</center>
Line 16: Line 16:
 
{| class="wikitable" | style="width: 60%"
 
{| class="wikitable" | style="width: 60%"
 
|-
 
|-
|style="width: 40%"| <p style="color: #DDDD88;font-size: 18px">LuaGameObj(objectid) || .
+
|style="width: 40%"| <p style="color: #DDDD88;font-size: 18px">LuaGameObj(objectid)</p>Params<br>objectid - id of the given object<br>Returns<br>gameobject a copy of a gameobject || Creates a GameObj reference to the specified id. The ONLY time you should use this is when a client sends an object id from a script command.
 
|}
 
|}
 
</center>
 
</center>

Latest revision as of 07:58, 27 November 2019

[Main] [Lua Examples]

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

Object Functions & Examples

LogChat()

Params
source - chat source
chatlog - chat log
Write a line to the chat log for this user.

Example

 CODE EXAMPLE BLOCK

LuaGameObj(objectid)

Params
objectid - id of the given object
Returns
gameobject a copy of a gameobject
Creates a GameObj reference to the specified id. The ONLY time you should use this is when a client sends an object id from a script command.

Example

 CODE EXAMPLE BLOCK