Skip to main content
Version: latest - a1.7.0 βš–οΈ

πŸ€ Assets

Retrieve Assets from Asset Packs

info

🟦🟧 Authority: This can be accessed on both Client and Server.

πŸ—Ώ Static Class: This is a Static Class. You can access it’s methods directly with .. It is not possible to initialize or create new instances.

Static Functions​

ReturnsNameBeschreibung
tableGetAssetPacksReturns an array of tables containing information about all loaded Asset Packs
tableGetAnimationsReturns an array of strings containing all Animation Assets Keys from an AssetPack
tableGetMapsReturns an array of strings containing all Map Asset Keys from an AssetPack
tableGetMaterialsReturns an array of strings containing all Materials Asset Keys from an AssetPack
tableGetParticlesReturns an array of strings containing all Particle Assets Keys from an AssetPack
tableGetSoundsReturns an array of strings containing all Sound Assets Keys from an AssetPack
tableGetSkeletalMeshesReturns an array of strings containing all Skeletal Mesh Asset Keys from an AssetPack
tableGetStaticMeshesReturns an array of strings containing all Static Mesh Assets Keys from an AssetPack
tableGetOthersReturns an array of strings containing all Other Assets Keys from an AssetPack

GetAssetPacks​

Returns an array of tables containing information about all loaded Asset Packs

Returned table format [{Name, Path, Author, Version}, ...]

Assets.GetAssetPacks()

GetAnimations​

Returns an array of strings containing all Animation Assets Keys from an AssetPack

Assets.GetAnimations(asset_pack_path)
TypeParameterBeschreibung
stringasset_pack_pathThe Asset Pack path to get the assets

GetMaps​

Returns an array of strings containing all Map Asset Keys from an AssetPack

Assets.GetMaps(asset_pack_path)
TypeParameterBeschreibung
stringasset_pack_pathThe Asset Pack path to get the assets

GetMaterials​

Returns an array of strings containing all Material Assets Keys from an AssetPack

Assets.GetMaterials(asset_pack_path)
TypeParameterBeschreibung
stringasset_pack_pathThe Asset Pack path to get the assets

GetParticles​

Returns an array of strings containing all Particle Assets Keys from an AssetPack

Assets.GetParticles(asset_pack_path)
TypeParameterBeschreibung
stringasset_pack_pathThe Asset Pack path to get the assets

GetSounds​

Returns an array of strings containing all Sound Assets Keys from an AssetPack

Assets.GetSounds(asset_pack_path)
TypeParameterBeschreibung
stringasset_pack_pathThe Asset Pack path to get the assets

GetSkeletalMeshes​

Returns an array of strings containing all Skeletal Mesh Asset Keys from an AssetPack

Assets.GetSkeletalMeshes(asset_pack_path)
TypeParameterBeschreibung
stringasset_pack_pathThe Asset Pack path to get the assets

GetStaticMeshes​

Returns an array of strings containing all Static Mesh Assets Keys from an AssetPack

Assets.GetStaticMeshes(asset_pack_path)
TypeParameterBeschreibung
stringasset_pack_pathThe Asset Pack path to get the assets

GetOthers​

Returns an array of strings containing all Other Assets Keys from an AssetPack

Assets.GetOthers(asset_pack_path)
TypeParameterBeschreibung
stringasset_pack_pathThe Asset Pack path to get the assets