Difference between revisions of "NDOIE"

From Legends of Aria Admin and Modding Wiki
Jump to: navigation, search
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 +
<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>
 
<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>
Line 4: Line 5:
 
{| class="wikitable" | style="width: 60%"
 
{| class="wikitable" | style="width: 60%"
 
|-
 
|-
|style="width: 40%"| <p style="color: #DDDD88;font-size: 18px">EquipObject() || .
+
|style="width: 40%"| <p style="color: #DDDD88;font-size: 18px">EquipObject()</p>Params<br>gameobject - the objec to equip<br>Returns<br>bool - returns false if object is not valid or not a mobile || Attempt to equip the passed in object onto this mobile.
 
|}
 
|}
 
</center>
 
</center>
Line 15: Line 16:
 
{| class="wikitable" | style="width: 60%"
 
{| class="wikitable" | style="width: 60%"
 
|-
 
|-
|style="width: 40%"| <p style="color: #DDDD88;font-size: 18px">EquipObjectWithLoc() || .
+
|style="width: 40%"| <p style="color: #DDDD88;font-size: 18px">EquipObjectWithLoc()</p>Params<br>gameobject - the object to equip<br>location - location inside the corpse container<br>Returns<br>bool - returns false if object is not valid or not a mobile || Attempt to equip the passed in object onto this mobile, also specify a position for where it should appear in the corpse container. This is used for placing equipped objects inside corpse containers.
 
|}
 
|}
 
</center>
 
</center>

Latest revision as of 06:24, 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

EquipObject()

Params
gameobject - the objec to equip
Returns
bool - returns false if object is not valid or not a mobile
Attempt to equip the passed in object onto this mobile.

Example

 CODE EXAMPLE BLOCK

EquipObjectWithLoc()

Params
gameobject - the object to equip
location - location inside the corpse container
Returns
bool - returns false if object is not valid or not a mobile
Attempt to equip the passed in object onto this mobile, also specify a position for where it should appear in the corpse container. This is used for placing equipped objects inside corpse containers.

Example

 CODE EXAMPLE BLOCK