AHuman:LookForGold

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
SyntaxLookForGold( * The degree angle to deviate from the current view point in the ray casting. A random ray will be chosen out of this +-range.
  • The range, in pixels, that the ray will have.
  • A Vector which will be filled with the absolute coordinates of any found gold. It will be unaltered if false is returned. )
Description:
Casts a material detecting ray in the direction of where this is facing.
ReturnsWhether gold was spotted by this ray cast. If so, foundLocation has been filled out with the absolute location of the gold.




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