This article's documentation is for anything that uses the Source engine. Click here for more information.

func_fish_pool

From Valve Developer Community
Jump to: navigation, search
Fish swimming inside water, thanks to a func_fish_pool entity.

func_fish_pool is a point entity available in all Source Source games.

Entity description

It creates a school of interactive fish that swim near this entity.

Icon-Bug.pngBug:Killing the func_fish_pool does not delete the fish, the fish entity can be killed as a workaround.
Warning.pngWarning:Killing the fish entity before killing the func_fish_pool entity crashes the game, the func_fish_pool entity must be killed first.

Keyvalues


Targetname:
Name (targetname) <string>
The targetname that other entities refer to this entity by.

Parentname:
Parent (parentname) <targetname>
Specifies a movement parent. An entity will maintain its initial offset from its parent. An attachment point can be added to the end of the name, separated by a comma.


World model (model) <model path>
The fish model.
Fish Count (fish_count) <integer>
Number of fish in this pool.
Max Range (max_range) <float>
How far away a fish can wander, in units. Maximum is 255 units.

Origin:
Origin (X Y Z) (origin) <origin>
The position of this entity's center in the world. Rotating entities typically rotate around their origin.