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

Public Member Functions

ResourceName GetPrefab ()
 
bool SpawnPrefabs (int authorPlayerId, IEntity user, notnull EntitySpawnParams params)
 Method used to spawn additional prefabs.
 
void PostPrefabSpawn (notnull IEntity spawnedEntity)
 Override if you would like to do something to the entity that was spawned after deployment.
 

Protected Attributes

ResourceName m_sPrefab
 
int m_iNumberOfPrefabs
 

Member Function Documentation

◆ GetPrefab()

ResourceName SCR_AdditionalDeployablePart.GetPrefab ( )
Returns

◆ PostPrefabSpawn()

void SCR_AdditionalDeployablePart.PostPrefabSpawn ( notnull IEntity spawnedEntity)

Override if you would like to do something to the entity that was spawned after deployment.

Parameters
[in]spawnedEntity

Implemented in SCR_WeaponDeployablePart.

◆ SpawnPrefabs()

bool SCR_AdditionalDeployablePart.SpawnPrefabs ( int authorPlayerId,
IEntity user,
notnull EntitySpawnParams params )

Method used to spawn additional prefabs.

Parameters
[in]authorPlayerIdid of the player who initalized this procedure
[in]userwho initialized this procedure
[in]paramsused for spawning of the prefab

Member Data Documentation

◆ m_iNumberOfPrefabs

int SCR_AdditionalDeployablePart.m_iNumberOfPrefabs
protected

◆ m_sPrefab

ResourceName SCR_AdditionalDeployablePart.m_sPrefab
protected

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