Difference between revisions of "NDOIC"

From Legends of Aria Admin and Modding Wiki
Jump to: navigation, search
Line 6: Line 6:
 
{| class="wikitable" | style="width: 60%"
 
{| class="wikitable" | style="width: 60%"
 
|-
 
|-
|style="width: 40%"| <p style="color: #DDDD88;font-size: 18px">CanHold() || .
+
|style="width: 40%"| <p style="color: #DDDD88;font-size: 18px">CanHold()</p>Params<br>gameobject - target object<br>Returns<br>bool - true if can hold, false if can not || Is this object a container and can it hold the object passed in. This will fail if adding this object would put the container over its capacity. This does not currently check weight limits.
 
|}
 
|}
 
</center>
 
</center>
Line 17: Line 17:
 
{| class="wikitable" | style="width: 60%"
 
{| class="wikitable" | style="width: 60%"
 
|-
 
|-
|style="width: 40%"| <p style="color: #DDDD88;font-size: 18px">CanPathTo() || .
+
|style="width: 40%"| <p style="color: #DDDD88;font-size: 18px">CanPathTo()</p>Params<br>origin - the origin position<br>destination - the destination position<br>Returns<br>bool - true if works, false if it does not || Checks for a valid path from the mobile's position to location using A* algorithm.
 
|}
 
|}
 
</center>
 
</center>
Line 28: Line 28:
 
{| class="wikitable" | style="width: 60%"
 
{| class="wikitable" | style="width: 60%"
 
|-
 
|-
|style="width: 40%"| <p style="color: #DDDD88;font-size: 18px">CarriedObject() || .
+
|style="width: 40%"| <p style="color: #DDDD88;font-size: 18px">CarriedObject()</p> || .
 
|}
 
|}
 
</center>
 
</center>
Line 39: Line 39:
 
{| class="wikitable" | style="width: 60%"
 
{| class="wikitable" | style="width: 60%"
 
|-
 
|-
|style="width: 40%"| <p style="color: #DDDD88;font-size: 18px">ClearCollisionBounds() || .
+
|style="width: 40%"| <p style="color: #DDDD88;font-size: 18px">ClearCollisionBounds()</p> || .
 
|}
 
|}
 
</center>
 
</center>
Line 50: Line 50:
 
{| class="wikitable" | style="width: 60%"
 
{| class="wikitable" | style="width: 60%"
 
|-
 
|-
|style="width: 40%"| <p style="color: #DDDD88;font-size: 18px">ClearPathTarget() || .
+
|style="width: 40%"| <p style="color: #DDDD88;font-size: 18px">ClearPathTarget()</p> || .
 
|}
 
|}
 
</center>
 
</center>
Line 61: Line 61:
 
{| class="wikitable" | style="width: 60%"
 
{| class="wikitable" | style="width: 60%"
 
|-
 
|-
|style="width: 40%"| <p style="color: #DDDD88;font-size: 18px">CloseDynamicWindow() || .
+
|style="width: 40%"| <p style="color: #DDDD88;font-size: 18px">CloseDynamicWindow()</p> || .
 
|}
 
|}
 
</center>
 
</center>
Line 72: Line 72:
 
{| class="wikitable" | style="width: 60%"
 
{| class="wikitable" | style="width: 60%"
 
|-
 
|-
|style="width: 40%"| <p style="color: #DDDD88;font-size: 18px">CompleteLogout() || .
+
|style="width: 40%"| <p style="color: #DDDD88;font-size: 18px">CompleteLogout()</p> || .
 
|}
 
|}
 
</center>
 
</center>
Line 83: Line 83:
 
{| class="wikitable" | style="width: 60%"
 
{| class="wikitable" | style="width: 60%"
 
|-
 
|-
|style="width: 40%"| <p style="color: #DDDD88;font-size: 18px">ContainedBy() || .
+
|style="width: 40%"| <p style="color: #DDDD88;font-size: 18px">ContainedBy()</p> || .
 
|}
 
|}
 
</center>
 
</center>
Line 94: Line 94:
 
{| class="wikitable" | style="width: 60%"
 
{| class="wikitable" | style="width: 60%"
 
|-
 
|-
|style="width: 40%"| <p style="color: #DDDD88;font-size: 18px">CopyObject() || .
+
|style="width: 40%"| <p style="color: #DDDD88;font-size: 18px">CopyObject()</p> || .
 
|}
 
|}
 
</center>
 
</center>

Revision as of 06:53, 25 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

CanHold()

Params
gameobject - target object
Returns
bool - true if can hold, false if can not
Is this object a container and can it hold the object passed in. This will fail if adding this object would put the container over its capacity. This does not currently check weight limits.

Example

 CODE EXAMPLE BLOCK

CanPathTo()

Params
origin - the origin position
destination - the destination position
Returns
bool - true if works, false if it does not
Checks for a valid path from the mobile's position to location using A* algorithm.

Example

 CODE EXAMPLE BLOCK

CarriedObject()

.

Example

 CODE EXAMPLE BLOCK

ClearCollisionBounds()

.

Example

 CODE EXAMPLE BLOCK

ClearPathTarget()

.

Example

 CODE EXAMPLE BLOCK

CloseDynamicWindow()

.

Example

 CODE EXAMPLE BLOCK

CompleteLogout()

.

Example

 CODE EXAMPLE BLOCK

ContainedBy()

.

Example

 CODE EXAMPLE BLOCK

CopyObject()

.

Example

 CODE EXAMPLE BLOCK