benilla-re systems structs docs

s_defaultUseRange

global · objectlayer

Address
0x80b084 · 4 bytes, up to 0x80b087
Type
float
Meaning
Holds 5.0, the use range a game object handler starts with
Confidence
verified, proof one
Finding
objectlayer/gameobjects#building-the-type-handler

Finding: Building the type handler in objectlayer: game objects

The constructor switches on GAMEOBJECT_TYPE_ID from 0 to 30: each case allocates the type's handler and runs its constructor with the object. Type 21 and any type above 30 get a shared static handler and log BADBASEGAMEOBJECT. A failed allocation leaves no handler. Every built handler starts with a vtable, the object at +0x4, an error at +0x8 and a use range at +0xc, by default ERR_USE_LOCKED and 5.0 yards. The static handler has only its vtable; its +0x4 to +0xc stay zero, unread because its slots 5 and 6 return 0.

The derivation is in the doc.