IsSheatheBlockedByAnimation
function · objectlayer · orchestration
- Address
0x5eb6d0· 31 bytes, up to0x5eb6ee- Meaning
- Returns 1 for animations 46, 49, 105 to 107 and 109 to 112
- Confidence
- verified, proof one
- Finding
- objectlayer/playercombat#sheathing
Finding: Sheathing in objectlayer: player spells and combat
0x5eb480 toggles the sheathe state for the active player unless busy, mounted,
under UNIT_FIELD_FLAGS 0x40000, dead,
attacking, casting, in a blocking animation, or with a model lacking or playing the sheathe
animations. From 0 it draws melee weapons (1) or else the ranged one (2), and stops the melee
attack; from 1 it goes to 2 with a ranged weapon, else 0; from 2 to 0. A class whose ChrClasses
+0x40 is set ignores the ranged weapon.
The derivation is in the doc.
Callers 1
- CGPlayer_C::ToggleSheathe objectlayer
Callees 0
None by a direct call or jump.
Calls and jumps by a bare address, from tables/calls.tsv.