NDOIC

From Legends of Aria Admin and Modding Wiki
Revision as of 06:53, 25 November 2019 by Gizmo (talk | contribs)
Jump to: navigation, search

[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