|
Arma Reforger Script API
|
Public Member Functions | |
| proto external vector | GetWorldPosition () |
| proto external void | GetTransform (out vector mat[]) |
| Returns the local transform of this shape. | |
| proto external void | SetTransform (vector mat[]) |
| Sets the local transform for this area damage. | |
| proto external DamageArea | GetDamageArea () |
| Returns the damage area that is using this shape. | |
| proto external void | GetWorldTransform (out vector mat[]) |
| Returns the world transform of this shape. | |
| bool | ShouldAffectEntity (IEntity entityToAffect) |
| Returns true if the entity is in the area of influence of this shape (in contact) | |
| bool | AffectsPosition (vector position) |
| Returns true if this position is contained inside of the shape. | |
| float | GetDiameter () |
| Returns the diameter (radius * 2) of a sphere that encapsulates the entire shape. | |
| void | Diag_DrawArea (int color) |
| Called when the area has to be drawn. | |
| bool BaseDamageAreaShape.AffectsPosition | ( | vector | position | ) |
Returns true if this position is contained inside of the shape.
Implemented in SCR_ConvexPolygonDamageAreaShape.
| void BaseDamageAreaShape.Diag_DrawArea | ( | int | color | ) |
Called when the area has to be drawn.
| color | The default color value to draw the area. White for disabled, red for enabled |
| proto external DamageArea BaseDamageAreaShape.GetDamageArea | ( | ) |
Returns the damage area that is using this shape.
| float BaseDamageAreaShape.GetDiameter | ( | ) |
Returns the diameter (radius * 2) of a sphere that encapsulates the entire shape.
Implemented in SCR_ConvexPolygonDamageAreaShape.
| proto external void BaseDamageAreaShape.GetTransform | ( | out vector | mat[] | ) |
Returns the local transform of this shape.
| proto external vector BaseDamageAreaShape.GetWorldPosition | ( | ) |
| proto external void BaseDamageAreaShape.GetWorldTransform | ( | out vector | mat[] | ) |
Returns the world transform of this shape.
| proto external void BaseDamageAreaShape.SetTransform | ( | vector | mat[] | ) |
Sets the local transform for this area damage.
| bool BaseDamageAreaShape.ShouldAffectEntity | ( | IEntity | entityToAffect | ) |
Returns true if the entity is in the area of influence of this shape (in contact)
Implemented in SCR_ConvexPolygonDamageAreaShape.