-
Notifications
You must be signed in to change notification settings - Fork 113
Game object class Orion Assistant
Command format:
ReturnType NameSpace.name(requiredParameters, [optionalParameters=defaultValue]);
-
ReturnType - the return value of the function (void - the function returns nothing);
-
NameSpace - the scope of the function;
-
name - the name of the function;
-
requiredParameters - required parameters;
-
optionalParameters - optional parameters, the default value is indicated after the = sign
Result: Serial number of an Object.
Result: Type of an Object (Picture ID).
Result: Color of an Object.
Result: X object coordinates in world.
Result: Y object coordinates in world.
Result: Z object coordinates in world.
Result: Serial number of an Main(parent)-Object. 0xFFFFFFFF if object is located in world.
Result: World map objects index.
Result: Quantity
Result: Object flags.
Result: Name of an Object (empty for items, until click on object).
Result: true is object is alive.
Result: true - if object is marked as ignored.
Result: true - if object is frozen.
Result: true - if object is poisoned.
Result: true - if object is flying (gargoyle).
Result: true - if object has yellow health bar.
Result: true - if object is ignoring players while moving.
Result: true - if object cant be moved or marked (items).
Result: true - if object is in war mode.
Result: true - if object is invisible.
Result: true - if object is attacking humanoid.
Result: true - if object is current player.
Result: true - if object is dead body.
Result: Number of Layer - object is located in.
Result: true - if object is - Multi.
Result: Number of Layer - object is supposed to locate in.
Result: Hit points amount of an Object.
Result: Maximum hit points amount of an Object.
Result: Mana amount of an Object.
Result: Maximum mana amount of an Object.
Result: Stamina amount of an Object.
Result: Maximum stamina amount of an Object.
Result: true - if object player is a female gender.
Result: Race number of an Object.
Result: Direction of an Object.
Result: Wickedness of an Object.
Result: true - if object can be renamed.
Result: true - if object is dead.
Result: true - if object does not exist.
Returns string with object properties ( if they were received by MegaCliloc packet from server )
Returns true if profile was received from server.
Returns profile contents.
Returns characters title ( displayed in paperdoll ).
Result: true if the object is in direct line of sight.
Result: The distance from the player to the object.
Result: "Full" name of an Object (empty for items, until click on object).