GetObjectsInArea

From Dragon Age Toolset Wiki
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.