Difference between revisions of "Lua:IsSentrygun"
From Fortress Forever Wiki
Jump to navigationJump to searchMulchman MM (talk | contribs) |
|||
(2 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
+ | {{Infobox manual/Header}} | ||
==IsSentrygun== | ==IsSentrygun== | ||
Line 12: | Line 13: | ||
The output is true or false depending if ent_id is a sentrygun or not. | The output is true or false depending if ent_id is a sentrygun or not. | ||
− | [[Category: | + | [[Category:Lua_Commands]] |
+ | {{Infobox manual/Footer}} |
Latest revision as of 16:40, 31 December 2007
IsSentrygunIsSentrygun is used to see if an entity index being passed into a function is a sentrygun or not. UsageIsSentrygun( ent_id ) InputThe ent_id passed in is simply an integer index that refers to an entities game code ENTINDEX(). OutputThe output is true or false depending if ent_id is a sentrygun or not. |