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

Fish: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Replacing {{base point}} with {{this is a}}. This operation was performed by a bot.)
m (Classifying as model entity)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{lang|Fish}}
{{LanguageBar}}
{{ent not in fgd|nolink=1|because=it can't move or even show a model on its own}}
{{ent not in fgd|nolink=1|because=it can't move or even show a model on its own}}
{{this is a|point entity|name=fish}} These are the fish created by {{ent|func_fish_pool}}.
{{CD|CFish|file1=fish.cpp}}
 
{{this is a|model entity|name=fish}} These are the fish created by {{ent|func_fish_pool}}.
{{warning|<code>Kill</code>ing the fish entity before killing the pool entity crashes the game. The pool entity must be removed first.}}
{{warning|<code>Kill</code>ing the fish entity before killing the pool entity crashes the game. The pool entity must be removed first.}}


{{code class|CFish|fish.cpp}}
== See Also ==
 
* {{ent|func_fish_pool}}
==Keyvalues==
{{KV BaseAnimating}}
{{KV BaseEntity}}
 
==Inputs==
{{I BaseAnimating|portal2=1}}
{{I BaseEntity}}
 
==Outputs==
{{O BaseAnimating|portal2=1}}
{{O BaseEntity|l4d=1}}

Latest revision as of 04:31, 19 May 2025

English (en)Translate (Translate)
Icon-NotInFGD.png
This entity is not in the FGD by default.
It should not be put directly in a map because it can't move or even show a model on its own.
C++ Class hierarchy
CFish
CBaseAnimating
CBaseEntity
C++ fish.cpp

fish is a model entity available in all Source Source games. These are the fish created by func_fish_pool.

Warning.pngWarning:Killing the fish entity before killing the pool entity crashes the game. The pool entity must be removed first.

See Also