GSC reference › Built-in
BlurAndTint_FX()
Built-in (engine)
Client
Called on: entity
Plays RadioActive/Fire FX
Signature
<entity> BlurAndTint_FX(<localClientNum>, [true/false.], [level])
Called on an entity: entity BlurAndTint_FX(...)
Parameters
| Name | Required? | Details |
|---|---|---|
| localClientNum | Required | Client number of the player |
| true/false. | Optional | Default is true. |
| level | Optional | 0 - 1 |
Example (from Treyarch's docs)
entity BlurAndTint_FX(0, true, 1)
Real uses in BO3's scripts
Called 3 times in the decompiled scripts. A few, zombies first:
- scripts/cp/gametypes/_player_cam.csc, line 42
blurandtint_fx(localclientnum, 1, 0.5); - scripts/cp/gametypes/_player_cam.csc, line 47
blurandtint_fx(localclientnum, 0); - scripts/cp/gametypes/_player_cam.csc, line 69
blurandtint_fx(localclientnum, 1, blur_level);
Related built-ins
- RandomFloatRange()Returns a random floating point number r, where min <= r < max
- RandomInt()Returns a random integer between 0 and max-1 inclusive
- RandomIntRange()Returns a random integer r, where min <= r < max
- RandomFloat()Returns a random floating point number r, where 0 <= r < max
- SetCanDamage()Set the candamage flag for this entity - this means that it can respond to notifies from bullets and grenade hits
- DisableOffhandWeapons()Disable the player's offhand weapons
- EnableOffhandWeapons()Enable the player's offhand weapons
- DontInterpolate()Pop the entity's position instantaneously to where it moves this time step, rather than smoothly moving there from the previous position
- AllowStand()Sets whether the player can stand up
- CreateDynEntAndLaunch()Creates and launches a dynent.
- SwitchToOffHand()Switch to the offhand weapon
- WeaponHasAttachmentAndUnlocked()Does the weapon have all the attachments specified?
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).