GSC reference › Built-in
GetScriptBundleList()
Built-in (engine)
Server + client
Returns the script bundle list array.
Signature
GetScriptBundleList()
Returns
Returns the script bundle list array.
Example (from Treyarch's docs)
settings = GetScriptBundleList( "doorsettings" )
Real uses in BO3's scripts
Not called anywhere in BO3's shipped scripts, so check it works in your mode before relying on it.
Related built-ins
- GetScriptBundle()Returns the script bundle struct.
- GetScriptBundleNames()Returns all the names of the script bundles of the specified type in an array.
- GetScriptBundles()Returns a list of script bundles based on the type.
- SetUkkoScriptIndex()Set ukko index from script.
- AnimScripted()Runs an animscript on an entity.
- GetWeaponsListPrimaries()
- StopAnimScripted()Halts animscript on this entity.
- GetWeaponsList()Gets an array of all weapons that the player has.
- ForceStreamBundle()Force the assets in a script bundle to stream in
- SetClientScriptMainMenu()Sets g_scriptMainMenu dvar only on this client
- IsPlayingAnimScripted()Returns true if the entity is playing in scripted animation.
- IsInScriptedState()Checks if actor is in a scripted state (animscripted, custom, negotiation)
New to GSC?
Start with the basics, or paste a compile error to get the fix.
Built-in descriptions, parameters and examples come from Treyarch's BO3 mod tools docs. Usage links point at shiversoftdev/t7-source (decompiled BO3 scripts).