GSC reference › Built-in
GetScriptBrake()
Built-in (engine)
Server
Vehicle Called on: vehicle
Gets the script brake value of a nitrous physics vehicle.
Signature
<vehicle> GetScriptBrake()
Called on an entity: vehicle GetScriptBrake(...)
Example (from Treyarch's docs)
jeep getscriptbrake()
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
- SetBrake()Turns off/on the hand brake of a nitrous physics vehicle.
- GetBrake()Gets the brake value of a nitrous physics vehicle.
- GetHandBrake()Gets the hand brake value of a nitrous physics vehicle.
- SetUkkoScriptIndex()Set ukko index from script.
- AnimScripted()Runs an animscript on an entity.
- StopAnimScripted()Halts animscript on this entity.
- 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)
- CameraForceDisableScriptCam()Disable the script cam from client script.
- EndExtraCamAnimScripted()Ends the extracam camera script on a player.
- CamAnimScripted()Plays the camera script on a player.
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).