CM2Model::HasAttachment
function · models · orchestration
- Address
0x712cb0· 59 bytes, up to0x712cea- Meaning
- Returns whether an instance's model has an attachment id
- Confidence
- verified, proof one
- Finding
- models/model#attachments
Finding: Attachments in models: the instance
Attach(parent, id) takes an instance off the animate list, stores the parent and id, resolves
the id to the parent's attachment index (0xffff while the parent loads) and links it first among
the parent's children. An attached instance animates through its parent. GetAttachmentPosition
transforms the attachment's offset by its bone matrix and the scene matrix.
The derivation is in the doc.
Callers 17
- AttachKitEffect glue
- AttachItemModel charactermodel
- DetachAttachment charactermodel
- CCamera::BuildPivotHeights uicamera
- CGUnit_C::OnModelEvent objectlayer
- CGUnit_C::AttachQuestMarker objectlayer
- CGUnit_C::GetNamePosition objectlayer
- CGUnit_C::OnModelLoaded objectlayer
- CGUnit_C::DrawBowstring objectlayer
- CMissile::Launch objectlayer
- CMissile::Aim objectlayer
- CMissile::StickInUnit objectlayer
- AddHardcodedEffect objectlayer
- UpdateSpellEffectObject objectlayer
- CGUnit_C::GetAttachmentPoint objectlayer
- OnCombatModelEvent objectlayer
- GetSpellImpactPoint spell
Callees 2
- M2LookupIndex models
- CM2Model::WaitForShared models
Calls and jumps by a bare address, from tables/calls.tsv.