Lua:IsSentrygun

From Fortress Forever Wiki
Revision as of 13:26, 19 June 2006 by Mulchman MM (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

IsSentrygun

IsSentrygun is used to see if an entity index being passed into a function is a sentrygun or not.

Usage

IsSentrygun( 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 sentrygun or not.