NDOIM

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

MoveTo()

Params
location - location to move to
number - multiplier to apply to base mobile speed
number - body size of mobile being moved
eventid - event identifier of the arrived event
bool - true if it works, false if it fails
Tells a mobile to move directly to a location. He will stop if he is blocked by collision. An Arrived event will fire on this object when he arrives at the destination or is blocked.

Example

 CODE EXAMPLE BLOCK

MoveToContainer()

Params
gameobject - container object
location - position inside container
Returns
bool - true if it worked, false if not
Attempts to put this object into the specified container.

Example

 CODE EXAMPLE BLOCK