CMissile::StickInUnit
function · objectlayer · primitive
- Address
0x61e7c0· 293 bytes, up to0x61e8e4- Meaning
- Attaches a missile to a unit's attachment for a time on its sorted stuck list
- Confidence
- verified, proof one
- Finding
- objectlayer/missiles#stuck-missiles
- Test
objectlayer::diff_arrival_scale
Finding: Stuck missiles in objectlayer: missiles
0x61e7c0(unit, ms) sticks a missile into a unit at its attachment and keeps it there for ms. It
plays 191 Impact, keeps its world pose relative to the attachment, and joins the unit's stuck list,
ordered by expiry. The unit's update frees each one whose time has come; the impact list is freed
model by model, once no emitter of the model is still emitting or holds a live particle.
The derivation is in the doc.
Callers 2
- CMissile::ArriveHit objectlayer
- CMissile::ArriveMiss objectlayer
Callees 11
- OsGetAsyncTimeMs core
- CMissile::Link objectlayer
- ReleaseWorldObject terrain
- CM2Model::GetBaseTransform models
- CM2Model::SetBaseTransform models
- CM2Model::PlayAnimation models
- CM2Model::HasAttachment models
- CM2Model::GetAttachmentMatrix models
- CM2Model::Attach models
- MultiplyMatrix4 cmath
- InvertAffineMatrix cmath
Calls and jumps by a bare address, from tables/calls.tsv.