enginePreloadWorldAreaInDirection
Client-side
Runs GTA's directional scene request and synchronous load sequence used by story transitions.
Syntax
bool enginePreloadWorldAreaInDirection(Vector3 position, float headingDegrees)Arguments
positionVector3Finite scene position.
headingDegreesfloatFinite direction in degrees.
Returns
true after GTA completes the directional load; false for non-finite input.
Ownership and lifecycle
These calls act immediately on streamed native state and do not create a persistent lease. The resource remains responsible for scene timing and authoritative mission progression.
Important behavior
- This call can block while GTA loads the requested scene; stage it under an appropriate fade.
Where this comes from
SOURCECLuaEngineDefs.cppClient/mods/deathmatch/logic/luadefs/CLuaEngineDefs.cpp INTRODUCED / EXTENDEDe4bddaac4Read the commit and why the change was made TEST RESOURCE tagging-up-turf test-resources/tagging-up-turf
RELATED NEON APIS
Read the system guide → Continue exploring
← Back to the Neon Lua API · How Native scene primitives works →