Script::IsFactionInactive
function · ui · primitive
- Address
0x4d6af0· 97 bytes, up to0x4d6b50- 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
- __ftol crt
- IsEntryInactive ui
- lua_isnumber lua
- lua_tonumber lua
- lua_pushnil lua
- lua_pushnumber lua
- luaL_error lua
Calls and jumps by a bare address, from tables/calls.tsv.