# Preload Soundtrack

Grammar — Preload soundtrack queue|Immediately/For Next Map
FlagsAction

Preloads a soundtrack. The soundtrack must be explicitly identified (it won’t work if you plug in a variable to that parameter). Preloading will force an asset or data entry to be loaded into memory before the map starts, rather than be loaded on demand as the map runs.

# Arguments

  • string<gamelink::Soundtrack> — Soundtrack
  • bool<preset::PreloadQueue> — Queue

Returns — void

void libNtve_gf_PreloadSoundtrack(
	string lp_soundtrack,
	bool lp_queue,
);

Category: Game / Preloading

# Examples

— None found —