Class Creature [-] [+]
Non-Player controlled Units (i.e. NPCs).
Inherits all methods from: Object, WorldObject, Unit
Methods
AddLootMode |
Adds a loot mode to the Creature |
AttackStart |
Make the Creature attack |
CallAssistance |
Make the Creature call for assistance in combat from other nearby Creatures. |
CallForHelp |
Make the Creature call for help in combat from friendly Creatures within |
CanAggro |
Returns |
CanAssistTo |
Returns |
CanCompleteQuest |
Returns |
CanFly |
Returns |
CanStartAttack |
Returns true if the Creature can start attacking specified target |
CanSwim |
Returns |
CanWalk |
Returns |
DespawnOrUnsummon |
Despawn this Creature. |
FleeToGetAssistance |
Make the Creature flee combat to get assistance from a nearby friendly Creature. |
GetAIName |
Returns the Creature's AI name. |
GetAITarget |
Returns a target from the Creature's threat list based on the supplied arguments. |
GetAITargets | |
GetAITargetsCount | |
GetAggroRange |
Returns the aggro range of the Creature for |
GetAttackDistance |
Returns the effective aggro range of the Creature for |
GetCorpseDelay |
Returns the delay between when the Creature dies and when its body despawns. |
GetCreatureSpellCooldownDelay |
Returns the Creature's cooldown for |
GetCurrentWaypointId |
Returns the current waypoint ID of the Creature. |
GetDBTableGUIDLow |
Returns the guid of the Creature that is used as the ID in the database |
GetDefaultMovementType |
Returns the default movement type for this Creature. |
GetHomePosition |
Returns position the Creature returns to when evading from combat or respawning. |
GetLootMode | |
GetLootRecipient | |
GetLootRecipientGroup | |
GetNPCFlags |
Returns the Creature's NPC flags. |
GetRespawnDelay |
Returns the time it takes for this Creature to respawn once killed. |
GetScriptId |
Returns the Creature's script ID. |
GetScriptName |
Returns the Creature's script name. |
GetShieldBlockValue |
Returns the Creature's shield block value. |
GetWanderRadius |
Returns the radius the Creature is permitted to wander from its respawn point. |
GetWaypointPath |
Returns the current waypoint path ID of the Creature. |
HasCategoryCooldown |
Returns |
HasLootMode |
Returns true if Creature has the specified loot mode |
HasLootRecipient |
Returns |
HasQuest |
Returns |
HasSearchedAssistance |
Returns |
HasSpell |
Returns |
HasSpellCooldown |
Returns |
IsCivilian |
Returns |
IsDamageEnoughForLootingAndReward |
Returns true if the Creature is damaged enough for looting |
IsElite |
Returns |
IsGuard |
Returns |
IsInEvadeMode |
Returns |
IsRacialLeader |
Returns |
IsReputationGainDisabled |
Returns |
IsTappedBy |
Returns |
IsTargetableForAttack |
Returns |
IsTrigger |
Returns |
IsWorldBoss |
Returns |
MoveWaypoint |
Make the Creature start following its waypoint path. |
RemoveCorpse |
Remove this Creature's corpse. |
RemoveLootMode |
Removes specified loot mode from Creature |
ResetLootMode |
Resets Creature's loot mode to default |
Respawn |
Respawn this Creature. |
SaveToDB |
Save the Creature in the database. |
SelectVictim |
Make the Creature try to find a new target. |
SetAggroEnabled |
Sets whether the Creature can be aggroed. |
SetDeathState |
Sets the Creature's death state to |
SetDefaultMovementType |
Sets the default movement type of the Creature. |
SetDisableGravity |
Makes the Creature able to fly if enabled. |
SetDisableReputationGain |
Sets whether the Creature gives reputation or not. |
SetEquipmentSlots |
Equips given Items to the Unit. Using 0 removes the equipped Item |
SetHomePosition |
Sets the position the Creature returns to when evading from combat or respawning. |
SetHover |
Sets whether the creature is hovering / levitating or not. |
SetInCombatWithZone |
Sets the Creature as in combat with all Players in the dungeon instance. |
SetLootMode | |
SetNPCFlags |
Sets the Creature's NPC flags to |
SetNoCallAssistance |
Sets whether the Creature can call nearby enemies for help in combat or not. |
SetNoSearchAssistance |
Sets whether the Creature can search for assistance at low health or not. |
SetRespawnDelay |
Sets the time it takes for the Creature to respawn when killed. |
SetWalk |
Sets whether the Creature is currently walking or running. |
SetWanderRadius |
Sets the distance the Creature can wander from it's spawn point. |
UpdateEntry |
Transform the Creature into another Creature. |