GSC reference › Built-in
IsCamAnimLooping()
Built-in (engine)
Server
Returns whether or not a specific camera anim loop.
Signature
IsCamAnimLooping(<cam_anim>)
Parameters
| Name | Required? | Details |
|---|---|---|
| cam_anim | Required | The animation to play |
Returns
Returns whether or not a specific camera anim loop.
Example (from Treyarch's docs)
IsCamAnimLooping( "proto_melee_cam" )
Real uses in BO3's scripts
Called 1 time in the decompiled scripts. A few, zombies first:
- scripts/shared/scene_shared.gsc, line 3657
if(iscamanimlooping(str_cam))
Related built-ins
- IsAnimLooping()Gets whether an animation is looped or not
- 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.
- GetCamAnimTime()Gets the duration of an xcam in milliseconds.
- UseAnimTree()Sets the anim tree for the entity
- ClearAnim()Sets an animation's goal weight (and the goal weights of all of its descendents) to zero over the specified time.
- SessionModeIsCampaignZombiesGame()Returns true/false if the current session mode is a campaign game and the campaign mode is set to zombies.
- AnimScripted()Runs an animscript on an entity.
- SetAnim()Restart": These functions cause the animation to restart.
- GetAnimLength()Gets the length of an animation
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).