ACrab:LookForMOs

From Data Realms Wiki

Revision as of 00:44, 28 June 2012 by Beautifybot (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Function
SyntaxLookForMOs( * The degree angle to deviate from the current view point in the ray casting. A random ray will be chosen out of this +-range.
  • A specific material ID to ignore (see through)
  • Whether to ignore all terrain or not (true means 'x-ray vision'). )
Description:
Casts an MO detecting ray in the direction of where the head is looking at the time. Factors including head rotation, sharp aim mode, and other variables determine how this ray is cast.
ReturnsA pointer to the MO seen while looking.




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