GSC reference › Built-in
SetScriptStreamBias()
Built-in (engine)
Client
Sets the base importance of materials being forced from script
Signature
SetScriptStreamBias(<bias>)
Parameters
| Name | Required? | Details |
|---|---|---|
| bias | Required | Streaming bias (0 is the highest importance) |
Example (from Treyarch's docs)
setScriptStreamBias( 1.0 )
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
- SetUkkoScriptIndex()Set ukko index from script.
- AnimScripted()Runs an animscript on an entity.
- ForceStreamXModel()Forces the streamer to load model and texture LODs for a model even if it isn't yet visible.
- StopAnimScripted()Halts animscript on this entity.
- 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.
- CreateThreatBiasGroup()Create a new threat bias group.
- SetThreatBiasGroup()Set or clear threat bias group of an AI or player
- StopForceStreamingXModel()Forces the streamer to load model and texture LODs for a model even if it isn't yet visible.
- SetPersonalThreatBias()Sets a personal threat bias for this sentient versus the other sentient.
- 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).