GetSceneObj
From NexusWiki
Revision as of 23:50, 14 June 2009 by The Old Dragon (Talk | contribs)
It returns the named object’s reference.
Basically, this is how we 'name' an object in a mission scene so that instructions can be given to it. This name can be anything you want as long as...
A) It starts with 'M.' to denote it as a mission variable. B) It is unique within the individual mission script.
Example...
Here we have a ship named 'Solar' in the mission, so we'll now refer to it as 'M.Sr'.
M.Sr:=GetSceneObj("Solar");