BRUSH env_bubbles

An entity used to create a volume in which to spawn bubbles.

KeyValues

Bubble density <integer> = 2

The amount of bubbles per cycle. Final amount is inputted value plus one. -1 is max.

Bubble frequency <integer> = 2

How frequent cycles occur. Values include negative numbers to 20, the final time between cycles is 2.5s minus X tenths of a second if positive, or 2.5s plus X tenths of a second if negative.

Speed of Current <integer> = 0

The speed of the water current in the volume, used to move the bubbles.

spawnflags <flags>

No description provided.

Possible Flags:

Name Value Default
Start Off 1

Inherited from BaseEffectBrush

Name <target_source>

The name that other entities refer to this entity by.

Global Entity Name <string>

Name by which this entity is linked to another entity in a different map. When the player transitions to a new map, entities in the new map with globalnames matching entities in the previous map will have the previous map's state copied over their state.

Parent <target_destination>

The name of this entity's parent in the movement hierarchy. Entities with parents move with their parent. Set an attachment point via 'parentname,attachment'.

Inputs

Activate <void>

Activates the bubbles.

Deactivate <void>

Deactivates the bubbles.

Toggle <void>

Toggles the bubbles on and off.

SetDensity <integer>

Sets the bubble density.

SetFrequency <integer>

Sets bubble emission rate in bubbles per second.

SetCurrent <integer>

Sets current speed in units per second.