Difference between revisions of "Lua:IsDispenser"
From Fortress Forever Wiki
Jump to navigationJump to searchm |
|||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
+ | {{Infobox manual/Header}} | ||
==IsDispenser== | ==IsDispenser== | ||
Line 13: | Line 14: | ||
[[Category:Lua_Commands]] | [[Category:Lua_Commands]] | ||
+ | {{Infobox manual/Footer}} |
Latest revision as of 17:39, 31 December 2007
IsDispenserIsDispenser is used to see if an entity index being passed into a function is a dispenser or not. UsageIsDispenser( 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 dispenser or not. |