Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_PlayerLoadout.c
Go to the documentation of this file.
1[BaseContainerProps(configRoot: true), BaseContainerCustomTitleField("m_sLoadoutName")]
3{
4 [Attribute("Loadout", UIWidgets.EditBox, params: "edds")]
5 string m_sLoadoutName;
6
7 [Attribute("", UIWidgets.ResourceNamePicker, params: "et")]
8 ResourceName m_sLoadoutResource;
9
10 [Attribute("", UIWidgets.ResourceNamePicker, params: "edds")]
11 ResourceName m_sLoadoutImage;
12
13 //------------------------------------------------------------------------------------------------
14 override ResourceName GetLoadoutResource()
15 {
16 return SCR_EditableEntityComponentClass.GetRandomVariant(m_sLoadoutResource);
17 }
18
19 //------------------------------------------------------------------------------------------------
20 override ResourceName GetLoadoutImageResource()
21 {
22 return m_sLoadoutImage;
23 }
24
25 //------------------------------------------------------------------------------------------------
26 override string GetLoadoutName()
27 {
28 return m_sLoadoutName;
29 }
30}
SCR_AIAnimation_Loitering BaseContainerProps
Commanding menu commanding element class.
class SCR_KeyBindingFilter BaseContainerCustomTitleField("m_sBindString")
static ResourceName GetRandomVariant(ResourceName prefab)
SCR_FieldOfViewSettings Attribute