benilla-re systems structs docs

s_teleportReloadDistance

global · collision

Address
0x80c730 · 4 bytes, up to 0x80c733
Type
const float
Meaning
Holds 30.0, the distance past which a forced move reloads the world
Confidence
verified, proof one
Finding
collision/teleport#forced-position-reload

Finding: Forced position reload in collision: teleport arrival

A forced position op that moves the mover more than 30 yards, when the mover is the unit the world view is anchored to, reloads the destination's terrain synchronously before the frame goes on. After the snap 0x617e90 calls 0x630bd0 when d² > 900, with the mover's GUID; 0x630bd0 compares it with the world view's GUID (+0x88, +0x8c of 0x4818f0) and calls 0x66fc80, which recentres the streaming windows and runs 0x694920. That frees the map objects, footprints and texture caches, updates the map once through 0x698390 with the synchronous-open flag 0x86a2d0 set and waits for every read. 0x615020 then calls 0x613ef0(object, 1) on every object. No loading screen is raised.

The derivation is in the doc.