Arma Reforger Script API
Loading...
Searching...
No Matches
SCR_GridSpawnerEntity Interface Reference

Each object is represented by a key on the alphanumeric keyboard (0-9 above QWERTY) Pressing that particular key will spawn a grid filled with the template / model. More...

Inheritance diagram for SCR_GridSpawnerEntity:
SCR_ModelAutotestEntity

Public Member Functions

array< IEntity > GetSpawnedEntities ()
 
bool Spawn (int index)
 
void SCR_GridSpawnerEntity (IEntitySource src, IEntity parent)
 
void ~SCR_GridSpawnerEntity ()
 

Protected Member Functions

int GetObjectCount ()
 
bool GetObjectName (int index, out string name)
 
bool Spawn (int index, out vector centerPoint)
 
void DeleteEntities ()
 
override void EOnFrame (IEntity owner, float timeSlice)
 
override void EOnInit (IEntity owner)
 

Detailed Description

Each object is represented by a key on the alphanumeric keyboard (0-9 above QWERTY) Pressing that particular key will spawn a grid filled with the template / model.

BACKSPACE can be used to delete all entities at any given moment.

Constructor & Destructor Documentation

◆ SCR_GridSpawnerEntity()

void SCR_GridSpawnerEntity.SCR_GridSpawnerEntity ( IEntitySource src,
IEntity parent )

◆ ~SCR_GridSpawnerEntity()

void SCR_GridSpawnerEntity.~SCR_GridSpawnerEntity ( )

Member Function Documentation

◆ DeleteEntities()

void SCR_GridSpawnerEntity.DeleteEntities ( )
protected

◆ EOnFrame()

override void SCR_GridSpawnerEntity.EOnFrame ( IEntity owner,
float timeSlice )
protected

◆ EOnInit()

override void SCR_GridSpawnerEntity.EOnInit ( IEntity owner)
protected

◆ GetObjectCount()

int SCR_GridSpawnerEntity.GetObjectCount ( )
protected

◆ GetObjectName()

bool SCR_GridSpawnerEntity.GetObjectName ( int index,
out string name )
protected

◆ GetSpawnedEntities()

array< IEntity > SCR_GridSpawnerEntity.GetSpawnedEntities ( )
sealed

◆ Spawn() [1/2]

bool SCR_GridSpawnerEntity.Spawn ( int index)
Parameters
indexThe index of element to spawn
centerPointThe center point in world coordinates of the spawned grid

◆ Spawn() [2/2]

bool SCR_GridSpawnerEntity.Spawn ( int index,
out vector centerPoint )
protected
Parameters
indexThe index of element to spawn
centerPointThe center point in world coordinates of the spawned grid

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