Arma Reforger Script API
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
GameModeSetupConfigEntry Interface Reference

Public Member Functions

IEntitySource CreateEntity (WorldEditorAPI api, string entityName, int layerID, vector pos, vector dir)
 Create entity from prefab.
 

Public Attributes

ResourceName m_Prefab
 
string m_Comment
 
TypeName m_Type
 

Member Function Documentation

◆ CreateEntity()

IEntitySource GameModeSetupConfigEntry.CreateEntity ( WorldEditorAPI  api,
string  entityName,
int  layerID,
vector  pos,
vector  dir 
)

Create entity from prefab.

Can be overridden by inherited classes.

Parameters
[in]apiWorld Editor API
[in]entityNameName of created entity
[in]layerIDID of World Editor layer in which the entity should be created
[in]posPosition of created entity
[in]dirDirection vector (not angles!) of created entity
Returns
Created entity

Member Data Documentation

◆ m_Comment

string GameModeSetupConfigEntry.m_Comment

◆ m_Prefab

ResourceName GameModeSetupConfigEntry.m_Prefab

◆ m_Type

TypeName GameModeSetupConfigEntry.m_Type

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