Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_SimulateAndShowToggle.c
Go to the documentation of this file.
1// Script File
4{
5 [Attribute(uiwidget: UIWidgets.LocaleEditBox)]
7
8 [Attribute(desc: "If true the Sub checkbox will be disabled if Main is false. If false the Sub checkbox will be disabled if Main is true")]
10 [Attribute(defvalue: "1", desc: "If disabled will either set itself true or false")]
11 protected bool m_bSetFalseIfDisabled;
12
13 override SCR_BaseEditorAttributeVar ReadVariable(Managed item, SCR_AttributesManagerEditorComponent manager)
14 {
16 if (!editableEntity) return null;
17
18 #ifndef WORKBENCH
19 return null;
20 #endif
21
22 //TODO GET VALUES
23 vector saveValues = Vector(1, 0, 0);
25 }
26 override void WriteVariable(Managed item, SCR_BaseEditorAttributeVar var, SCR_AttributesManagerEditorComponent manager, int playerID)
27 {
28 if (!var) return;
30 if (!editableEntity) return;
31
32 //TODO: Set Values
33 }
34
35 override int GetEntries(notnull array<ref SCR_BaseEditorAttributeEntry> outEntries)
36 {
40 return outEntries.Count();
41 }
42};
SCR_AIAnimation_Loitering BaseContainerProps
Commanding menu commanding element class.
void SCR_BaseEditorAttributeEntryText(string text)
UI Textures DeployMenu Briefing conflict_HintBanner_1_UI desc
Base Attribute Script for other attributes to inherent from to get and set varriables in Editor Attri...
static SCR_BaseEditorAttributeVar CreateVector(vector value)
override void WriteVariable(Managed item, SCR_BaseEditorAttributeVar var, SCR_AttributesManagerEditorComponent manager, int playerID)
override int GetEntries(notnull array< ref SCR_BaseEditorAttributeEntry > outEntries)
override SCR_BaseEditorAttributeVar ReadVariable(Managed item, SCR_AttributesManagerEditorComponent manager)
SCR_FieldOfViewSettings Attribute
proto native vector Vector(float x, float y, float z)