benilla-re systems structs docs

Script::IsMouselooking

function · input · orchestration

Address
0x514270 · 47 bytes, up to 0x51429e
Signature
int __fastcall (lua_State *L)
Meaning
Pushes 1 when the mouse turn command 0x1 is held, else nil
Confidence
verified, proof one
Name from
the community database (idb)
Finding
input#orbit-and-mouselook

Finding: Orbit and mouselook in input

The camera orbit of a held mouse button and mouselook are the same state, bit 0 of the camera's +0x90 word. It is entered by 0x50fe30 from the press, and by the toggle 0x50f910 (the ToggleMouseMove binding), and left by 0x50fdd0, called from the release through 0x50f940 and from the toggle. Entry has no motion threshold. MouselookStart and MouselookStop (0x514210, 0x514240) press and release command bit 0x1 with click mode 0, so they arm no click. IsMouselooking() (0x514270) pushes 1 when command bit 0x1 is held, else nil: the channel, not the camera's bit.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 3

Calls and jumps by a bare address, from tables/calls.tsv.