Arma Reforger Script API
|
Zone data that will spawn the entity within a a ractanglar radius of the owner. More...
Public Member Functions | |
void | GetDimensions2D (out float width, out float lenght) |
Get Width and Lenght for Area mesh generation. | |
override vector | GetNewPosition (SCR_EffectsModule effectModule) |
Get random position to spawn (or if PROJECTILE for target). | |
override void | ResetPositions (SCR_EffectsModule effectModule) |
Called by effect module. | |
void | SCR_EffectsModulePositionData_Rectangle () |
Protected Attributes | |
float | m_fWidth |
float | m_fLength |
float | m_fSpawnBufferPercentage |
float | m_fDistanceSpreadPercentage |
float | m_fMinimalDistanceBetweenPositions |
float | m_fCenterZonePercentage |
float | m_fCenterBias |
bool | m_bSpawnInRow |
bool | m_bShouldAlternateDirection |
float | m_fSpawnInRowLenghtVariantPercentage |
ref array< vector > | m_aPreviousTargetPositions |
bool | m_bIsMovingInAlternateDirection = false |
Static Protected Attributes | |
const int | MAX_TARGET_RERANDOMIZES = 10 |
Zone data that will spawn the entity within a a ractanglar radius of the owner.
void SCR_EffectsModulePositionData_Rectangle.SCR_EffectsModulePositionData_Rectangle | ( | ) |
void SCR_EffectsModulePositionData_Rectangle.GetDimensions2D | ( | out float | width, |
out float | lenght ) |
Get Width and Lenght for Area mesh generation.
[out] | width | Width of zone |
[out] | lenght | Lenght of zone |
override vector SCR_EffectsModulePositionData_Rectangle.GetNewPosition | ( | SCR_EffectsModule | effectModule | ) |
Get random position to spawn (or if PROJECTILE for target).
Override in inherented version
Implements SCR_BaseEffectsModulePositionData.
override void SCR_EffectsModulePositionData_Rectangle.ResetPositions | ( | SCR_EffectsModule | effectModule | ) |
Called by effect module.
Called when a barrage is done
Implements SCR_BaseEffectsModulePositionData.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
staticprotected |