ISXWoW:player (Data Type)
From ISMods Wiki
| player | |
| Defined By | ISXWoW |
| Inherits | unit |
| Reduces To | object.Name |
| Variable Object Type | none |
| Uses Sub-Types | no |
| C/C++ Type | CGPlayer_C * |
Contents |
[edit]
Description
[edit]
Members
- int Health
- 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.
- int MaxHealth
- 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%)
- int Level
- Returns the level of the player.
- bool Ghost
- 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
[edit]
Methods
- Follow
- Begins following the player
[edit]
