Skip to content

enginePreloadWorldAreaInDirection

Client-side

Ask GTA to preload the world around a destination and viewing direction before revealing a teleport or cutscene.

Syntax

bool enginePreloadWorldAreaInDirection(Vector3 position, float headingDegrees)

Arguments

positionVector3

Finite scene position.

headingDegreesfloat

Finite 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

RELATED SA:O APIS

Continue exploring

Read the system guide →