AHuman:EquipThrowable

From Data Realms Wiki

Revision as of 00:50, 28 June 2012 by Beautifybot (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Function
SyntaxEquipThrowable( * 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 ThrownDevice in the inventory. If the held device already is a ThrownDevice, or no ThrownDevice is in inventory, nothing happens.
ReturnsWhether a ThrownDevice 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