GetObjectsInArea

From Dragon Age Toolset Wiki
Revision as of 22:07, 2 March 2010 by BryanDerksen (Talk | contribs) (fill in missing fields)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Returns an array with all objects in an area.

object[] GetObjectsInArea(
object oArea,
string sTag = ""
);
Parameters:
oArea
an area object
sTag
If specified, only objects will this tag will be returned
Returns:

an array with all objects in an area

Source:

script.ldf

Description

Returns an array with all objects in an area. You can also specify a tag so the array only has all objects with that tag in that area. Check the size afterwards with GetArraySize.