Arma Reforger Script API
Loading...
Searching...
No Matches
SCR_WorldSetupPluginBasePlugin Interface Reference
Inheritance diagram for SCR_WorldSetupPluginBasePlugin:
SCR_WorldSetupPlugin_Entities SCR_WorldSetupPlugin_GenericWorldEntity

Protected Member Functions

ResourceName CreatePrefabChildInAddon (ResourceName prefab, int addon, string fileName=string.Empty)
 Create a child to the provided Prefab - uses the provided Prefab on error.
 

Member Function Documentation

◆ CreatePrefabChildInAddon()

ResourceName SCR_WorldSetupPluginBasePlugin.CreatePrefabChildInAddon ( ResourceName prefab,
int addon,
string fileName = string::Empty )
protected

Create a child to the provided Prefab - uses the provided Prefab on error.

Parameters
[in]prefabthe Prefab from which to create a child Prefab
[in]addonin which addon to create said child Prefab
[in]fileNameif provided, the desired file name (without extension) e.g "My_Prefab" -> "My_Prefab.et"
Returns
the created ResourceName or empty if failed

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