MovableManager:GetMOFromID

From Data Realms Wiki

(Difference between revisions)
Jump to: navigation, search
Beautifybot (Talk | contribs)
(updating function page)

Latest revision as of 00:47, 28 June 2012

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