User Tools

Site Tools


scripting-mobile

Scripting - Mobile type structure

Here can find some infomation about Enhanced Scripting about Mobile type structure!

Mobile name
Syntax Mobile.Name
Description:
Read mobile name.
Returns: String
In Object: Mobile
Mobile body
Syntax Mobile.Body
Description:
Read mobile body.
Returns: Int
In Object: Mobile
Mobile color
Syntax Mobile.Color
Description:
Read mobile color.
Returns: Int
In Object: Mobile

Mobile Direction
Syntax Mobile.Direction
Description:
Read mobile Direction.
Returns: String
In Object: Mobile

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

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

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

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

Mobile Paralized
Syntax Mobile.Paralized
Description:
Read mobile paralized flag.
Returns: Bool
In Object: Mobile

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

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

Mobile Famale
Syntax Mobile.Female
Description:
Read mobile sex.
Returns: Bool
In Object: Mobile

Mobile Hits
Syntax Mobile.Hits
Description:
Read mobile hits.
Returns: Int
In Object: Mobile

Mobile MaxHits
Syntax Mobile.HitsMax
Description:
Read mobile maxhits.
Returns: Int
In Object: Mobile

Mobile Stamina
Syntax Mobile.Stam
Description:
Read mobile stamina.
Returns: Int
In Object: Mobile

Mobile MaxStamina
Syntax Mobile.StamMax
Description:
Read mobile max stamina.
Returns: Int
In Object: Mobile

Mobile Mana
Syntax Mobile.Mana
Description:
Read mobile Mana.
Returns: Int
In Object: Mobile

Mobile MaxSmana
Syntax Mobile.ManaMax
Description:
Read mobile max mana.
Returns: Int
In Object: Mobile

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

Mobile Mount
Syntax Mobile.Mount
Description:
Get mobile object for mobile mount.
Returns: Mobile
In Object: Mobile

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

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

Mobile Get Item on Layer
Syntax Mobile.GetItemOnLayer(string)
Description:
Retrieves a item object of item equipped on specific layer.
Returns: Item
In Object: Mobile
Parameters: String Layername
Parameters list:
  • 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!

Mobile 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

Mobile Map
Syntax Mobile.Map
Description:
Read the facet of mobile.
Returns: byte
In Object: Mobile

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

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

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

scripting-mobile.txt · Last modified: 2018/10/03 23:51 by wikiadmin