NDOIF

From Legends of Aria Admin and Modding Wiki
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

FindNearestObject()

Params
objectsearcher - object searcher to use
Returns
table array of objects matching criteria
Returns the closest object that matches the search criteria. This only works on objects in the world.

Example

 CODE EXAMPLE BLOCK

FireTimer()

Params
name - name of timer(identifier)
(...) One or more object arguments to be passed to the Timer event. Function references are not supported
Fire a timer event immediately.

Example

 CODE EXAMPLE BLOCK

FireTimerAsync()

name - name of timer(identifier)
(...) One or more object arguments to be passed to the Timer event. Function references are not supported
Fire a timer event on the next object update.

Example

 CODE EXAMPLE BLOCK

ForceObjectUpdate()

Params
gameobject - user object to send the update to
Force the engine to send an object update to a specific user.

Example

 CODE EXAMPLE BLOCK