Difference between revisions of "NDOIL"

From Legends of Aria Admin and Modding Wiki
Jump to: navigation, search
(Created page with "<center><p style="width: 60%">ABCDEFGHIJKLM...")
 
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
<center><p style="width: 60%">[[NDOIA|A]][[NDOIB|B]][[NDOIC|C]][[NDOID|D]][[NDOIE|E]][[NDOIF|F]][[NDOIG|G]][[NDOIH|H]][[NDOII|I]][[NDOIJ|J]][[NDOIK|K]][[NDOIL|L]][[NDOIM|M]][[NDOIN|N]][[NDOIO|O]][[NDOIP|P]][[NDOIQ|Q]][[NDOIR|R]][[NDOIS|S]][[NDOIT|T]][[NDOIU|U]][[NDOIV|V]][[NDOIW|W]][[NDOIX|X]][[NDOIY|Y]][[NDOIZ|Z]]</p></center>
+
<p style="width:60%;margin: 0 auto">[[NewDawnHome|[Main]]] [[NDServerIndexScriptsMain|[Lua Examples]]]</p>
 +
<center><p style="width: 60%">[[NDOIA|A]] [[NDOIB|B]] [[NDOIC|C]] [[NDOID|D]] [[NDOIE|E]] [[NDOIF|F]] [[NDOIG|G]] [[NDOIH|H]] [[NDOII|I]] [[NDOIJ|J]] [[NDOIK|K]] [[NDOIL|L]] [[NDOIM|M]] [[NDOIN|N]] [[NDOIO|O]] [[NDOIP|P]] [[NDOIQ|Q]] [[NDOIR|R]] [[NDOIS|S]] [[NDOIT|T]] [[NDOIU|U]] [[NDOIV|V]] [[NDOIW|W]] [[NDOIX|X]] [[NDOIY|Y]] [[NDOIZ|Z]]</p></center>
 
<p style="color: #DDDD88;font-size: 22px;width:60%;margin: 0 auto">Object Functions & Examples</p>
 
<p style="color: #DDDD88;font-size: 22px;width:60%;margin: 0 auto">Object Functions & Examples</p>
 
<center>
 
<center>
 
{| 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">LogChat()</p>Params<br>source - chat source<br>chatlog - chat log || Write a line to the chat log for this user.
 
|}
 
|}
 
</center>
 
</center>
<p style="width: 60%;margin: 0 auto">Example script file named buff_player_strength.lua</p>
+
<p style="width: 60%;margin: 0 auto">Example</p>
 +
<div style="width:60%;margin: 0 auto">
 +
  CODE EXAMPLE BLOCK
 +
</div>
 +
 
 +
<center>
 +
{| class="wikitable" | style="width: 60%"
 +
|-
 +
|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>
 +
<p style="width: 60%;margin: 0 auto">Example</p>
 
<div style="width:60%;margin: 0 auto">
 
<div style="width:60%;margin: 0 auto">
 
   CODE EXAMPLE BLOCK
 
   CODE EXAMPLE BLOCK
 
</div>
 
</div>

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