Script::TaxiNodeName
function · ui · orchestration
- Address
0x4dcb30· 76 bytes, up to0x4dcb7b- Signature
int __fastcall (lua_State *L)- Meaning
- Returns the localized name of a slot's node
- Confidence
- verified, proof one
- Name from
- the community database (idb)
- Finding
- ui/taxi#taxi-lua-functions
Finding: Taxi Lua functions in ui: the taxi map
0x4dcf20 registers fourteen functions from a table of name and function pairs: SetTaxiMap, NumTaxiNodes,
TaxiNodeName, TaxiNodePosition, TaxiNodeCost, TakeTaxiNode, CloseTaxiMap, TaxiNodeGetType,
TaxiNodeSetCurrent, TaxiGetSrcX, TaxiGetSrcY, TaxiGetDestX, TaxiGetDestY and GetNumRoutes. Slots are 1-based.
SetTaxiMap(texture) assigns the held map texture to a texture region and does nothing before a map has loaded.
TaxiNodeName(slot) returns the node's localized name, INVALID for a slot out of range. TaxiNodePosition(slot)
returns u then v, and raises Invalid taxi node slot out of range. The six functions that take a slot raise their usage
text for a non-number.
The derivation is in the doc.
Callers 0
None by a direct call or jump.
Callees 6
- __ftol crt
- GetTaxiNodeName ui
- lua_isnumber lua
- lua_tonumber lua
- lua_pushstring lua
- luaL_error lua
Calls and jumps by a bare address, from tables/calls.tsv.