Scene:GetArea

From Data Realms Wiki

(Difference between revisions)
Jump to: navigation, search
m (updating function page)
m (Reverted edits by Beautifybot (talk) to last revision by Petethegoat)
Line 1: Line 1:
{{LuaFunction
{{LuaFunction
-
|function_name =GetArea
+
|function_name       = GetArea
-
|arguments =* The name of the Area to try to get.
+
|arguments           = ([[string]]) Name of area to get
-
|returns =A pointer to the Area asked for. 0 if no Area of that name was found.
+
|returns             = [[Area]]
-
|description =
+
|description         = Returns the object that represents specified area defined in scene.ini.
-
Gets a specific Area identified by a name. Ownership is NOT transferred!
+
|}}
-
  }}
+

Revision as of 00:23, 28 June 2012

Function
SyntaxGetArea( (string) Name of area to get )
Description:
Returns the object that represents specified area defined in scene.ini.
ReturnsArea




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