GSC reference › Built-in
CameraForceDisableScriptCam()
Built-in (engine)
Client
Called on: player
Disable the script cam from client script.
Signature
<player> CameraForceDisableScriptCam()
Called on an entity: player CameraForceDisableScriptCam(...)
Example (from Treyarch's docs)
player CameraForceDisableScriptCam( true )
Real uses in BO3's scripts
Called 6 times in the decompiled scripts. A few, zombies first:
- scripts/cp/doa/_doa_arena.csc, line 756
players[0] cameraforcedisablescriptcam(0); - scripts/cp/doa/_doa_core.csc, line 522
self cameraforcedisablescriptcam(0); - scripts/cp/doa/_doa_core.csc, line 570
self cameraforcedisablescriptcam(1); - scripts/cp/doa/_doa_core.csc, line 1858
self cameraforcedisablescriptcam(0); - scripts/cp/doa/_doa_core.csc, line 1870
self cameraforcedisablescriptcam(1);
Related built-ins
- EndExtraCamAnimScripted()Ends the extracam camera script on a player.
- CamAnimScripted()Plays the camera script on a player.
- EndCamAnimScripted()Ends the camera script on a player.
- ExtraCamAnimScripted()Plays the camera script on an extracam player.
- ForceTeleport()Force Teleport the actor to a new position with the given origin and angles, regardless of wether it will be visible to the player or not.
- SessionModeIsCampaignZombiesGame()Returns true/false if the current session mode is a campaign game and the campaign mode is set to zombies.
- 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.
- DisableInvulnerability()Makes player vulnerable to damage.
- PlayFXOnCamera()Plays the fx at the given offset from the camera.
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).