benilla-re systems structs docs

Script::IsFactionInactive

function · ui · primitive

Address
0x4d6af0 · 97 bytes, up to 0x4d6b50
Signature
int __fastcall (lua_State *L)
Meaning
Returns 1 when the entry's faction is inactive, else nil
Confidence
verified, proof one
Name from
the community database (idb)
Finding
ui/reputationlua#other-functions

Finding: Other functions in ui: the reputation Lua functions

GetNumFactions() returns the visible entry count. IsFactionInactive(index) returns 1 when the entry's slot has the inactive bit, else nil. FactionToggleAtWar(index) asks for war when the faction is not at war and peace when it is, for the entry's faction, ignoring faction 0. SetFactionInactive(index) and SetFactionActive(index) set or clear the inactive bit through the same request path. Each takes a number or raises its usage text, such as Usage: IsFactionInactive(index).

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 7

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