MovableManager:GetMOFromID

From Data Realms Wiki

Revision as of 00:47, 28 June 2012 by Beautifybot (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Function
SyntaxGetMOFromID( * The MOID to get the matching MO from. )
Description:
Gets a MO from its MOID. Note that MOID's are only valid during the same frame as they were assigned to the MOs!
ReturnsA pointer to the requested MovableObject instance. 0 if no MO with that MOID was found. 0 if 0 was passed in as MOID (no MOID). Ownership is *NOT* transferred!!




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