AHuman:EquipFirearm

From Data Realms Wiki

(Difference between revisions)
Jump to: navigation, search
Beautifybot (Talk | contribs)
(updating function page)

Latest revision as of 00:50, 28 June 2012

Function
SyntaxEquipFirearm( * Whether to actually equip any mathcing item found in the inventory, or jsut report that it's there or not. )
Description:
Switches the currently held device (if any) to the first found firearm in the inventory. If the held device already is a firearm, or no firearm is in inventory, nothing happens.
ReturnsWhether a firearm was successfully switched to, or already held.




Example
DescriptionPlaceholder!
Code
  1. for k,v in pairs(PagesWithoutExamples) do
  2.     v.MakeExample(NoErrors);
  3. end
OutputPlaceholder!
Personal tools