Vertex Scripts
ModulesStreaming

Client

Checks if assets exist, such as models, and loads them into memory. Throws errors if the assets are not found.

vx.requestAnimDict

vx.requestAnimDict(dict, timeout)
  • dict: string
  • timeout?: number
    • Number of ticks to wait for the asset to load
    • Default: 10000

vx.requestAnimSet

vx.requestAnimDict(animSet, timeout)
  • animSet: string
  • timeout?: number
    • Number of ticks to wait for the asset to load
    • Default: 10000

vx.requestModel

vx.requestModel(model, timeout)
  • model: string
  • timeout?: number
    • Number of ticks to wait for the asset to load
    • Default: 10000

vx.requestPtfxAsset

vx.requestPtfxAsset(asset, timeout)
  • asset: string
  • timeout?: number
    • Number of ticks to wait for the asset to load
    • Default: 10000

vx.requestTextureDict

vx.requestTextureDict(dict, timeout)
  • dict: string
  • timeout?: number
    • Number of ticks to wait for the asset to load
    • Default: 10000

On this page