Func fish pool: Difference between revisions
Jump to navigation
Jump to search
Bug:Killing the func_fish_pool does not delete the fish, the fish entity can be killed as a workaround. [todo tested in ?]
Warning:Killing the fish entity before killing the func_fish_pool entity crashes the game, the func_fish_pool entity must be killed first.
No edit summary |
(Fixed up the page.) |
||
Line 3: | Line 3: | ||
==Entity description== | ==Entity description== | ||
It creates a school of interactive fish that swim near this entity. | It creates a school of interactive [[fish]] that swim near this entity. | ||
{{bug|Killing the func_fish_pool does not delete the fish, the fish entity can be killed as a workaround.}} | |||
{{Warning|Killing the fish entity before killing the func_fish_pool entity crashes the game, the func_fish_pool entity must be killed first.}} | |||
== Keyvalues == | == Keyvalues == | ||
{{KV|World model|studio|The fish model | {{KV Targetname}} | ||
{{KV Parentname}} | |||
{{KV|World model|studio|The fish model.}} | |||
{{KV|Fish Count|integer|Number of | {{KV|Fish Count|integer|Number of fish in this pool.}} | ||
{{KV|Max Range|float|How far away a | {{KV|Max Range|float|How far away a fish can wander, in units. Maximum is 255 units.}} | ||
{{KV Origin}} |
Revision as of 03:42, 18 July 2018
Entity description
It creates a school of interactive fish that swim near this entity.


Keyvalues
- Name (targetname) <string>[ Edit ]
- The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g.
parentname
ortarget
).
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 ([todo internal name (i)]) <model path>
- The fish model.
- 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.