FilterObjectsInShape

From Dragon Age Toolset Wiki
Jump to: navigation, search

This page was generated by Sunjammer's Dragon Age Script Parser.

The parser was unable to extract and/or match all the information required and has flagged this page as containing one or more errors. The source file was not formatted correctly and the information presented is incomplete or incorrect.

This page must be reviewed by a knowledgeable scripter as it will need to be updated. Once identified, the issue in the source file should be reported to BioWare.

Please remove the {{Generated with errors}} tag once the page has been corrected.

filter an array of objects enclosed by the specified shape

object[] FilterObjectsInShape(
object[] aObjects,
int nObjectTypeMask,
int nShapeId,
location lLocation,
float fA,
float fB = 0.0,
float fC = 0.0,
int bExcludeDead = FALSE
);
Parameters:
aObjects
array of objects to filter based on the shape
nObjectTypeMask
Which objects to look for
nShapeId
the shape to use
lLocation
origin and direction for this shape
fA
floating point generic parameter
fB
optional floating point generic parameter
fC
optional floating point generic parameter
bExcludeDead
filter out dead objects if necessary
Returns:

[Undocumented]

Source:

script.ldf

Description

Filter an array of objects enclosed by the specified shape Parameter Info for generic parameters fA, fB, fC: SPHERE: fA = radius (meters) CONE: fA = angle (degrees), fB = length (meters) CYLINDER: fA = radius (meters), fB = length (meters)


See also

GetObjectsInShape