Difference between revisions of "NDOIE"

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">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 16: 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