Lua:IsGrenade
From Fortress Forever Wiki
Revision as of 06:29, 18 June 2006 by Mulchman MM (talk | contribs)
IsGrenade
IsGrenade is used to see if an entity index being passed into a function is a grenade or not.
Usage
IsGrenade( ent_id )
Input
The ent_id passed in is simply an integer index that refers to an entities game code ENTINDEX().
Output
The output is true or false depending if ent_id is a grenade or not. A list of grenades can be found.