GSC reference › Built-in
ResetFlashBack()
Built-in (engine)
Server
Player Called on: player
Resets the players flashback history
Signature
<player> ResetFlashBack()
Called on an entity: player ResetFlashBack(...)
Example (from Treyarch's docs)
self resetflashback()
Real uses in BO3's scripts
Called 3 times in the decompiled scripts. A few, zombies first:
- scripts/zm/_zm_weap_ball.gsc, line 1017
player resetflashback(); - scripts/mp/gametypes/ball.gsc, line 1217
player resetflashback(); - scripts/mp/gametypes/ctf.gsc, line 917
player resetflashback();
Related built-ins
- CreateFlashbackClone()Clone the player's model for temporary flashback model
- FlashbackFinish()Finishes the flashback
- FlashbackStart()Starts the flashback and returns the new origin
- PlayerKnockback()Turn knockback on and off for a player
- ApplyKnockBack()Applies a knockback on a player.
- HasAGrenadePulledBack()Check is a client has a grenade (any type including special) currently pulled back
- SoundGetPlaybackTime()Get the playback time for the sound
- setupclientfieldcodecallbacks()Registers a LUI code callback for each of the given clientfield names in a field pool.
- CameraSetUpdateCallback()Set the function that will get called during the camera update
- SetFlashBanged()Sets whether an actor is under a flashbang effect.
- SetupClientFieldAnimSpeedCallbacks()Registers a code callback for each of the given clientfield names in a field pool.
- GetFlashBangedStrength()Retrieves how strongly the actor was initially hit by a flashbang.
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).