ISXWoW:player (Data Type)

From ISMods Wiki

Object Type Vitals
player
Defined By ISXWoW
Inherits unit
Reduces To object.Name
Variable Object Type none
Uses Sub-Types no
C/C++ Type CGPlayer_C *

Contents

Description

Members

Returns the current health of the player. Depending on the context, this may return a percentage, or an actual value. If the player object is YOU then it will always return a full value. In group situations, this returns the current hps (not a percentage) of your group member.
Returns the max health of the player. Depending on the context, this may return a percentage, or an actual value. Will always return 100 if actual HPs are unknown. (For 100%)
Returns the level of the player.
Returns true if the player is a ghost.
  • item Equip[item slot]
Returns an Item object that corresponds to the item you have in [item slot].
echo You are wearing ${Me.Equip[1]} in your head slot.
Slot Values
Head=1
Neck=2
Shoulders=3
Shirt=4
Chest=5
Waist=6
Legs=7
Feet=8
Wrists=9
Hands=10
Finger1=11
Finger2=12
Trinket1=13
Trinket2=14
Back=15
MainHand=16
OffHand=17
Ranged=18
Tabard=19

Methods

  • Follow
Begins following the player

See Also