AHuman:LookForMOs

From Data Realms Wiki

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