User Tools

Site Tools


mobile_struct

Scripting - Mobile type structure

Here can find some information about Enhanced Scripting function about Mobile type structure data and related function!

Mobile name
Syntax Mobile.Name
Description:
Read mobile name..
Returns String
In Object: Mobile
Parameters: none
Mobile body
Syntax Mobile.Body
Description:
Read mobile body.
Returns Integer
In Object: Mobile
Parameters: None
Mobile color
Syntax Mobile color
Description:
Read mobile color.
Returns Integer
In Object: Mobile
Parameters: None
Mobile Direction
Syntax Mobile.Direction
Description:
Read mobile Direction.
Returns String
In Object: Mobile
Parameters: None

Mobile Visible
Syntax Mobile.Visible
Description:
Read mobile visible flag.
Returns Bool
In Object: Mobile
Parameters: None

Mobile Poisoned
Syntax Mobile.Poisoned
Description:
Read mobile poisoned flag.
Returns Bool
In Object: Mobile
Parameters: None

Mobile Flying
Syntax Mobile.Flying
Description:
Read mobile Flying flag.
Returns Bool
In Object: Mobile
Parameters: None

Mobile YellowHits
Syntax Mobile.YellowHits
Description:
Read mobile YellowHits flag.
Returns Bool
In Object: Mobile
Parameters: None

Mobile YellowHits
Syntax Mobile.Paralized
Description:
Read mobile Paralized flag.
Returns Bool
In Object: Mobile
Parameters: None

Mobile Human
Syntax Mobile.IsHuman
Description:
Read mobile human flag.
Returns Bool
In Object: Mobile
Parameters: None

Mobile WarMode
Syntax Mobile.WarMode
Description:
Read mobile warmode flag.
Returns Bool
In Object: Mobile
Parameters: None

Mobile Female
Syntax Mobile.Female
Description:
Read mobile gender.
Returns Bool
In Object: Mobile
Parameters: None

Mobile Hits
Syntax Mobile.Hits
Description:
Read mobile hits.
Returns Integer
In Object: Mobile
Parameters: None

Mobile HitsMax
Syntax Mobile.HitsMax
Description:
Read mobile maxhits.
Returns Integer
In Object: Mobile
Parameters: None

Mobile Stamina
Syntax Mobile.Stam
Description:
Read mobile stamina.
Returns Integer
In Object: Mobile
Parameters: None

Mobile MaxStamina
Syntax Mobile.StamMax
Description:
Read mobile max stamina.
Returns Integer
In Object: Mobile
Parameters: None

Mobile Mana
Syntax Mobile.Mana
Description:
Read mobile Mana.
Returns Integer
In Object: Mobile
Parameters: None

Mobile ManaMax
Syntax Mobile.ManaMax
Description:
Read mobile ManaMax.
Returns Integer
In Object: Mobile
Parameters: None

Mobile Backpack
Syntax Mobile.Backpack
Description:
Get item object for mobile backpack.
Returns Item
In Object: Mobile
Parameters: None

Mobile Mount
Syntax Mobile.Mount
Description:
Get item object for mobile Mount.
Returns Mobile
In Object: Mobile
Parameters: None

Mobile Position
Syntax Mobile.Position
Description:
Get Point3D about mobile position.
Returns Point3D
In Object: Mobile
Parameters: None

Mobile Quiver
Syntax Mobile.Quiver
Description:
Get item object for mobile quiver.
Returns Item
In Object: Mobile
Parameters: None

Mobile Layer
Syntax GetItemOnLayer(string)
Description:
Retrieves a item object of item equipped on specific layer.
Returns Item
In Object: Mobile
Parameters: String Layername RightHand LeftHand Shoes Pants Shirt Head Gloves Ring Neck Waist InnerTorso Bracelet MiddleTorso Earrings Arms Cloak OuterTorso OuterLegs InnerLegs
Exception If wrong layer name or layer empty function return null!

Get Assistant Layer
Syntax Mobile.GetAssistantLayer(string)
Description:
Get the Layer in Hex.
Returns Item
In Object: Mobile
Parameters: String Layername

Mobile Notoriety
Syntax Mobile.Notoriety
Description:
Read byte of Notoriety color.
Returns Byte
In Object: Mobile
Parameters: None

Mobile Map
Syntax Mobile.Map
Description:
Read the facet of mobile.
Returns Byte
In Object: Mobile
Parameters: None

Mobile Party
Syntax Mobile.InParty
Description:
Get if mobile is in party.
Returns Byte
In Object: Mobile
Parameters: None

Mobile Contains
Syntax Mobile.Contains
Description:
Get a list of all items into the backpack.
Returns List of Item
In Object: Mobile
Parameters: None

Mobile Properties
Syntax Mobile.Properties
Description:
Get a list of all properties of a mobile.
Returns List of Property
In Object: Mobile
Parameters: None

mobile_struct.txt · Last modified: 2022/09/03 23:25 by 127.0.0.1

Exception: Git command failed to perform periodic pull: error: insufficient permission for adding an object to repository database .git/objects fatal: failed to write object fatal: unpack-objects failed

Exception: Git command failed to perform periodic pull: error: insufficient permission for adding an object to repository database .git/objects fatal: failed to write object fatal: unpack-objects failed

An unforeseen error has occured. This is most likely a bug somewhere. It might be a problem in the gitbacked plugin.

More info has been written to the DokuWiki error log.