Arma Reforger Explorer
1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Toggle main menu visibility
Loading...
Searching...
No Matches
SCR_WorldSetupPluginConfig.c
Go to the documentation of this file.
1
#ifdef WORKBENCH
// this config is only related to a Workbench tool (SCR_WorldSetupPlugin_Entities)
2
[
BaseContainerProps
(configRoot:
true
)]
3
class
SCR_WorldSetupPluginConfig
4
{
5
[
Attribute
(
desc
:
"Entities to create in the world"
)]
6
ref array<ref SCR_WorldSetupPluginConfig_Entity> m_aEntities;
7
}
8
9
[
BaseContainerProps
(),
SCR_BaseContainerCustomTitleResourceName
(
"m_sPrefab"
)]
10
class
SCR_WorldSetupPluginConfig_Entity
11
{
12
[
Attribute
(
desc
:
"Which Prefab to create - if Class Name above is provided, this value is ignored"
, uiwidget: UIWidgets.ResourcePickerThumbnail,
params
:
"et"
)]
13
ResourceName
m_sPrefab
;
14
15
[
Attribute
(
desc
:
"Only one entity of that classname (e.g GenericTerrainEntity, etc) can be created (works with both Class Name and Prefab above)"
)]
16
bool
m_bMustBeUniqueByClassName;
17
18
[
Attribute
(
desc
:
"Only one entity of that Prefab (e.g \"{guid}/MyPrefab.et\"}) can be created (inheritance check not supported)"
)]
19
bool
m_bMustBeUniqueByPrefab;
20
21
[
Attribute
(defvalue:
"0 0 0"
,
desc
:
"The entity's creation position in world coordinates"
)]
22
vector
m_vPosition
;
23
24
[
Attribute
(defvalue:
"0 0 0"
,
desc
:
"The entity's angles, in degrees"
,
params
:
"0 360"
)]
25
vector m_vAngles;
26
27
[
Attribute
(
desc
:
"Additional Values are applied last; a key (variable name) that does not exist in the Entity will simply be ignored"
)]
28
ref array<ref SCR_WorldSetupPluginConfig_EntitySourceKeyValue> m_aAdditionalValues;
29
}
30
31
[
BaseContainerProps
(),
BaseContainerCustomTitleField
(
"m_sKey"
)]
32
class
SCR_WorldSetupPluginConfig_EntitySourceKeyValue
33
{
34
// this could be extended with ContainerIdPathEntry if needed
35
// [Attribute()]
36
// ref array<string> m_aVariablePath;
37
38
[
Attribute
(
desc
:
"Name of the variable to be set"
)]
39
string
m_sKey
;
40
41
[
Attribute
(
desc
:
"Variable value"
)]
42
string
m_sValue;
43
}
44
#endif
// WORKBENCH
BaseContainerProps
SCR_AIAnimation_Loitering BaseContainerProps
Commanding menu commanding element class.
Definition
SCR_AIAnimationWaypoint.c:14
m_vPosition
vector m_vPosition
Definition
SCR_AITalkRequest.c:23
m_sPrefab
ResourceName m_sPrefab
Definition
SCR_AmbientPatrolSpawnPointComponent.c:49
SCR_BaseContainerCustomTitleResourceName
SCR_CampaignMilitaryBaseComponent SCR_MilitaryBaseComponent SCR_BaseContainerCustomTitleResourceName("m_sBaseName", true)
Definition
SCR_CampaignMilitaryBaseComponent.c:2910
m_sKey
FactionKey m_sKey
Definition
SCR_FactionManagerSerializer.c:13
BaseContainerCustomTitleField
class SCR_KeyBindingFilter BaseContainerCustomTitleField("m_sBindString")
Definition
SCR_KeyBindingMenuConfig.c:116
desc
UI Textures DeployMenu Briefing conflict_HintBanner_1_UI desc
Definition
SCR_RespawnBriefingComponent.c:17
params
category params
Definition
SCR_SpherePointGeneratorPreviewComponent.c:21
Attribute
SCR_FieldOfViewSettings Attribute
Definition
SendGoalMessage.c:170
scripts
WorkbenchGame
WorldEditor
WorldSetup
SCR_WorldSetupPluginConfig.c
Generated by
1.17.0