func_fish_pool
func_fish_pool
is a point entity available in all Source games.
Entity description
It creates a school of interactive fish that swim near this entity.


Keyvalues
Targetname:
- Name
(targetname)
<string>
- The targetname that other entities refer to this entity by.
- Entity Scripts
(vscripts)
<scriptlist>
(in all games since)
- Space delimited list of VScript files (without file extension) that are executed after all entities have spawned. The scripts are all executed in the same script scope, later ones overwriting any identical variables and functions.
- Script think function
(thinkfunction)
<string>
(in all games since)
- Name of a function in this entity's script which will be called automatically every 100 milliseconds (ten times a second) for the duration of the script. It can be used to create timers or to simulate autonomous behavior. The return value (if present) will set the time until the next call.
Note: Try to avoid expensive operations in this function, as it may cause performance problems.
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.