GetObjectsInShape
From Dragon Age Toolset Wiki
return an array of objects enclosed by the specified shape
object[] GetObjectsInShape(
int nObjectTypeMask,
int nShapeId,
location lLocation,
float fA,
float fB = 0.0,
float fC = 0.0,
int bExcludeDead = FALSE
);
int nObjectTypeMask,
int nShapeId,
location lLocation,
float fA,
float fB = 0.0,
float fC = 0.0,
int bExcludeDead = FALSE
);
- Parameters:
- 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:
- an array of objects enclosed by the specified shape
- Source:
- script.ldf
Description
Returns all objects enclosed by a specific shape.
Parameter Info for generic parameters fA, fB, fC:
- SPHERE: fA = radius (meters)
- CONE: fA = angle (degrees), fB = length (meters)