Arma Reforger Script API
Loading...
Searching...
No Matches
SCR_AutoSpawnerTool Interface Reference
Inheritance diagram for SCR_AutoSpawnerTool:

Public Member Functions

override void OnMousePressEvent (float x, float y, WETMouseButtonFlag buttons)
 
override void OnMouseMoveEvent (float x, float y)
 

Protected Member Functions

void SpawnFromPrefabList ()
 
void Undo ()
 
void FolderScan ()
 
void Preload ()
 
void LoadXOBs ()
 
void LoadEntities ()
 
void GenerateComment (IEntitySource ent, ResourceName res_name)
 
int PlaceSelection (vector trace_end, bool isOnClick)
 
void FindFilesByExtension (ResourceName path, string extension, out array< ResourceName > list)
 
void ClearSelection ()
 
string FormatEntityIndex ()
 

Protected Attributes

bool m_bFindEntities
 
bool m_bFindXOBs
 
bool m_bShowPlacement
 
bool m_bGenerateComment
 
float m_fCommentYOffset
 
int m_iObjectsPerRow
 
int m_iSpawnMultiplier
 
bool m_bAlignByBoundingBox
 
float m_fXOffset
 
float m_fZOffset
 
float m_fYOffset
 
float m_fCumulativeRotation
 
string m_sPrefabList
 
ref array< ResourceName > m_aSelection = {}
 
ref array< ResourceName > m_aSelectedEntities = {}
 
ref array< ResourceName > m_aSelectedXOBs = {}
 
ref array< IEntitySource > m_aSpawnedEntities = {}
 
ref array< IEntitySource > m_aPlacedEntityHistory = {}
 
ref array< int > m_aSpawnHistory = {}
 
ref array< int > m_aSpawnHistoryChunks = {}
 
int m_iEntityId
 
int m_iEntityIdPrev
 
ref Shape m_PlacementRect
 
vector m_vPlacementRectSize = "1 0 1"
 
int m_iRowSizeX = 1
 
int m_iRowSizeZ = 1
 
float m_fLargestBBoxX
 
float m_fLargestBBoxZ
 

Member Function Documentation

◆ ClearSelection()

void SCR_AutoSpawnerTool.ClearSelection ( )
protected

◆ FindFilesByExtension()

void SCR_AutoSpawnerTool.FindFilesByExtension ( ResourceName path,
string extension,
out array< ResourceName > list )
protected

◆ FolderScan()

void SCR_AutoSpawnerTool.FolderScan ( )
protected

◆ FormatEntityIndex()

string SCR_AutoSpawnerTool.FormatEntityIndex ( )
protected

◆ GenerateComment()

void SCR_AutoSpawnerTool.GenerateComment ( IEntitySource ent,
ResourceName res_name )
protected

◆ LoadEntities()

void SCR_AutoSpawnerTool.LoadEntities ( )
protected

◆ LoadXOBs()

void SCR_AutoSpawnerTool.LoadXOBs ( )
protected

◆ OnMouseMoveEvent()

override void SCR_AutoSpawnerTool.OnMouseMoveEvent ( float x,
float y )

◆ OnMousePressEvent()

override void SCR_AutoSpawnerTool.OnMousePressEvent ( float x,
float y,
WETMouseButtonFlag buttons )

◆ PlaceSelection()

int SCR_AutoSpawnerTool.PlaceSelection ( vector trace_end,
bool isOnClick )
protected

◆ Preload()

void SCR_AutoSpawnerTool.Preload ( )
protected

◆ SpawnFromPrefabList()

void SCR_AutoSpawnerTool.SpawnFromPrefabList ( )
protected

◆ Undo()

void SCR_AutoSpawnerTool.Undo ( )
protected

Member Data Documentation

◆ m_aPlacedEntityHistory

ref array<IEntitySource> SCR_AutoSpawnerTool.m_aPlacedEntityHistory = {}
protected

◆ m_aSelectedEntities

ref array<ResourceName> SCR_AutoSpawnerTool.m_aSelectedEntities = {}
protected

◆ m_aSelectedXOBs

ref array<ResourceName> SCR_AutoSpawnerTool.m_aSelectedXOBs = {}
protected

◆ m_aSelection

ref array<ResourceName> SCR_AutoSpawnerTool.m_aSelection = {}
protected

◆ m_aSpawnedEntities

ref array<IEntitySource> SCR_AutoSpawnerTool.m_aSpawnedEntities = {}
protected

◆ m_aSpawnHistory

ref array<int> SCR_AutoSpawnerTool.m_aSpawnHistory = {}
protected

◆ m_aSpawnHistoryChunks

ref array<int> SCR_AutoSpawnerTool.m_aSpawnHistoryChunks = {}
protected

◆ m_bAlignByBoundingBox

bool SCR_AutoSpawnerTool.m_bAlignByBoundingBox
protected

◆ m_bFindEntities

bool SCR_AutoSpawnerTool.m_bFindEntities
protected

◆ m_bFindXOBs

bool SCR_AutoSpawnerTool.m_bFindXOBs
protected

◆ m_bGenerateComment

bool SCR_AutoSpawnerTool.m_bGenerateComment
protected

◆ m_bShowPlacement

bool SCR_AutoSpawnerTool.m_bShowPlacement
protected

◆ m_fCommentYOffset

float SCR_AutoSpawnerTool.m_fCommentYOffset
protected

◆ m_fCumulativeRotation

float SCR_AutoSpawnerTool.m_fCumulativeRotation
protected

◆ m_fLargestBBoxX

float SCR_AutoSpawnerTool.m_fLargestBBoxX
protected

◆ m_fLargestBBoxZ

float SCR_AutoSpawnerTool.m_fLargestBBoxZ
protected

◆ m_fXOffset

float SCR_AutoSpawnerTool.m_fXOffset
protected

◆ m_fYOffset

float SCR_AutoSpawnerTool.m_fYOffset
protected

◆ m_fZOffset

float SCR_AutoSpawnerTool.m_fZOffset
protected

◆ m_iEntityId

int SCR_AutoSpawnerTool.m_iEntityId
protected

◆ m_iEntityIdPrev

int SCR_AutoSpawnerTool.m_iEntityIdPrev
protected

◆ m_iObjectsPerRow

int SCR_AutoSpawnerTool.m_iObjectsPerRow
protected

◆ m_iRowSizeX

int SCR_AutoSpawnerTool.m_iRowSizeX = 1
protected

◆ m_iRowSizeZ

int SCR_AutoSpawnerTool.m_iRowSizeZ = 1
protected

◆ m_iSpawnMultiplier

int SCR_AutoSpawnerTool.m_iSpawnMultiplier
protected

◆ m_PlacementRect

ref Shape SCR_AutoSpawnerTool.m_PlacementRect
protected

◆ m_sPrefabList

string SCR_AutoSpawnerTool.m_sPrefabList
protected

◆ m_vPlacementRectSize

vector SCR_AutoSpawnerTool.m_vPlacementRectSize = "1 0 1"
protected

The documentation for this interface was generated from the following file: