CGUnit_C::IsInCombat
function · objectlayer · primitive
- Address
0x60ecd0· 38 bytes, up to0x60ecf5- Meaning
- Returns whether UNIT_FIELD_FLAGS has 0x800 or the unit has an attack target
- Confidence
- verified, proof one
- Name from
- the community database (idb)
- Finding
- objectlayer/units#melee-attack
Finding: Melee attack in objectlayer: units
0x612df0(guid) checks a melee start and settles its target: no attack while dead, charmed,
stunned, pacified, fleeing, confused or mounted; an empty GUID takes the target, a friendly one is
replaced; the target must be attackable. 0x6131a0 toggles the player's attack or orders the
pet's.
The derivation is in the doc.
Callers 3
- CGUnit_C::PlayFollowOnAnimation objectlayer
- CGUnit_C::PlayEmote objectlayer
- CGUnit_C::CanInteractNow objectlayer
Callees 1
- CGUnit_C::HasAttackTarget objectlayer
Calls and jumps by a bare address, from tables/calls.tsv.