NDOIE

From Legends of Aria Admin and Modding Wiki
Revision as of 06:24, 27 November 2019 by Gizmo (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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

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