func_fish_pool

From Valve Developer Community
Revision as of 10:52, 4 January 2024 by WisdomBot (talk | contribs) (Updated old entity format to {{this is a}}. This action was perfomed by a bot.)
Jump to navigation Jump to search
Fish swimming inside water, thanks to a func_fish_pool entity.

func_fish_pool is an e0 available in all Template:2 games.Template:2 topicon

Warning.pngWarning:
  • The {{{engine}}} parameter is inconsistent with the name defined by the {{2}} template.
    If a parameter is consistent but you're still seeing this warning, it may be an issue with the template itself. Please discuss it on the template's talk page.

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.  [todo tested in ?]
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

Name (targetname) <string>[ Edit ]
The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g. parentname or target).
Also displayed in Hammer's 2D views and Entity Report.
See also:  Generic Keyvalues, Inputs and Outputs available to all entities

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) ([todo internal name (i)]) <model path>
The fish model.
Fish Count (fish_count) ([todo internal name (i)]) <integer>
Number of fish in this pool.
Max Range (max_range) ([todo internal name (i)]) <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.