Skip to main content
Table of Contents
Print

3D Environmental Flash

The flashbang creates a temporary white 3D light source at the actual detonation position.

This environmental effect is separate from the player’s camera flash.

This distinction is important:

A player can look away from the flashbang and avoid the directional screen flash while still seeing the surrounding room or environment illuminate from the explosion.

Every compatible player within the configured:

scene-view-range: 128.0

can receive the same fixed world-space lighting source.

The default scene light duration is:

scene-light-duration-ticks: 60

or approximately 3 seconds at 20 TPS.

Leave a Reply

MrDino Dev Cave
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.