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

Public Member Functions

override ResourceName GetPrefab ()
 Returns the resource name of prefab to spawn.
 
override vector GetPosition ()
 Returns the position at which to spawn.
 
override vector GetAngles ()
 Returns the orientation at which to spawn.
 
void SCR_FreeSpawnData (ResourceName prefab, vector position, vector angles="0 0 0")
 
- Public Member Functions inherited from SCR_SpawnData
bool IsValid ()
 Are data valid in the most basic context?
 
bool GetSkipPreload ()
 
void SetSkipPreload (bool skip)
 

Protected Attributes

ResourceName m_Prefab
 
vector m_Position
 
vector m_Angles
 

Constructor & Destructor Documentation

◆ SCR_FreeSpawnData()

void SCR_FreeSpawnData.SCR_FreeSpawnData ( ResourceName prefab,
vector position,
vector angles = "0 0 0" )

Member Function Documentation

◆ GetAngles()

override vector SCR_FreeSpawnData.GetAngles ( )

Returns the orientation at which to spawn.

Implements SCR_SpawnData.

◆ GetPosition()

override vector SCR_FreeSpawnData.GetPosition ( )

Returns the position at which to spawn.

Implements SCR_SpawnData.

◆ GetPrefab()

override ResourceName SCR_FreeSpawnData.GetPrefab ( )

Returns the resource name of prefab to spawn.

Implements SCR_SpawnData.

Member Data Documentation

◆ m_Angles

vector SCR_FreeSpawnData.m_Angles
protected

◆ m_Position

vector SCR_FreeSpawnData.m_Position
protected

◆ m_Prefab

ResourceName SCR_FreeSpawnData.m_Prefab
protected

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