Interface: UniHuman
A class representing flyff entity
Extends
Extended by
Methods
Click()
Click():
void
Returns
void
Inherited from
CompareName()
CompareName(
name
):boolean
Parameters
• name: string
Returns
boolean
Inherited from
get()
get<
T
>(name
):IFlyffHuman
[T
]
Accesss internal properties of the underlying IFlyffMover object.
Type Parameters
• T extends "name"
| keyof IFlyffEntity | "targetID"
| "targeting"
| "attacking"
| "following"
| "HP"
| "isDead"
| "isRedMob"
| "animationState"
| "actionState"
| "flyingState"
| "buffs"
| "premiumItems"
| "premiumItems2"
| "movingTowards"
| "isMasquerpet"
| "isNPC"
| "g"
| "title"
| "maxHP"
| "maxMP"
| "maxFP"
| "castTimeReduction"
| "FP"
| "MP"
| "baseStats"
| "jobID"
| "jobName"
| "continent"
| "isInSameParty"
| "guildName"
| "hasPrivateShopOpen"
Parameters
• name: T
Returns
IFlyffHuman
[T
]
The value of the property on the internal IFlyffMover object. Returns undefined if the property does not exist.
Overrides
GetAttackingEntity()
GetAttackingEntity<
T
>():T
Type Parameters
• T extends UniHuman
| UniMover
| UniPlayer
Returns
T
Inherited from
GetCombatOrigin()
GetCombatOrigin():
IVector3
Returns
IVector3
Inherited from
GetContinent()
GetContinent():
string
Returns
string
Inherited from
GetCurrentHealth()
GetCurrentHealth():
number
Returns the current healthpoints of the mover.
Returns
number
Inherited from
GetDistance()
GetDistance(
is2D
?):number
Parameters
• is2D?: boolean
Returns
number
Inherited from
GetDistanceTo()
GetDistanceTo(
otherPos
):number
Parameters
• otherPos: IVector3
Returns
number
Inherited from
GetFollowingEntity()
GetFollowingEntity<
T
>():T
Type Parameters
• T extends UniHuman
| UniMover
| UniPlayer
Returns
T
Inherited from
GetGamePropID()
GetGamePropID():
number
Returns
number
Inherited from
GetID()
GetID():
number
Returns
number
Inherited from
GetLevel()
GetLevel():
number
Returns
number
Overrides
GetMaxHealth()
GetMaxHealth():
number
Returns the current maximum healthpoints of the mover.
Returns
number
Overrides
GetName()
GetName():
string
Returns
string
Inherited from
GetPosition()
GetPosition():
IVector3
Returns
IVector3
Inherited from
GetRank()
GetRank():
MonsterRank
Returns the rank of the mover. NOTE: Fallback to "normal" for any non masquerpets.
Returns
MonsterRank
Inherited from
GetRemainingTimeOfBuff()
GetRemainingTimeOfBuff(
buffSkillName
):number
Returns the remaining time in milliseconds that this buff will be active for, returns 0 for non active buffs.
Parameters
• buffSkillName: string
Name of the buff you want the remaining active time for.
Returns
number
Inherited from
UniMover
.GetRemainingTimeOfBuff
GetTargetedEntity()
GetTargetedEntity<
T
>():T
Type Parameters
• T extends UniHuman
| UniMover
| UniPlayer
Returns
T
Inherited from
IsDead()
IsDead():
boolean
Returns
boolean
Inherited from
IsDespawned()
IsDespawned():
boolean
Returns true if the entity was not contained in a recent game state update. Data on this entity might be stale. Use .LastSeenAt() to check when the entity was last seen.
Returns
boolean
Inherited from
IsEventMonster()
IsEventMonster():
boolean
Returns
boolean
Inherited from
IsFlying()
IsFlying():
boolean
Returns
boolean
IsGiant()
IsGiant():
boolean
Returns
boolean
Inherited from
IsHuman()
IsHuman():
boolean
Returns true if this UniMover represents a player.
Returns
boolean
Inherited from
IsInCombat()
IsInCombat():
boolean
Returns
boolean
Inherited from
IsMasquerpet()
IsMasquerpet():
boolean
Returns
boolean
Inherited from
IsNPC()
IsNPC():
boolean
Retruns true if the UniMover represents an NPC.
Returns
boolean
Inherited from
IsObstructed()
IsObstructed():
boolean
Returns
boolean
Inherited from
IsOnScreen()
IsOnScreen():
boolean
Returns
boolean
Inherited from
IsRedMob()
IsRedMob():
boolean
Returns
boolean
Inherited from
IsSittingDown()
IsSittingDown():
boolean
Returns true if the UniMover is currently sitting on ground.
Returns
boolean
Inherited from
IsVendorShop()
IsVendorShop():
boolean
Returns
boolean
Inherited from
On()
On(
event
,listener
):void
Parameters
• event: string
• listener
Returns
void
Inherited from
Timer()
Timer(
timerName
):number
Exposes the timers that the script runtime manages for this entity.
Parameters
• timerName: keyof TUniEntity_Timers
Returns
number