Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_AIFormationEditorAttribute.c
Go to the documentation of this file.
1// Script File
4{
5 override SCR_BaseEditorAttributeVar ReadVariable(Managed item, SCR_AttributesManagerEditorComponent manager)
6 {
7 return null;
8
9 //WIP
10 #ifndef WORKBENCH
11 return null;
12 #endif
13
14 /*
15 SCR_EditableEntityComponent editableEntity = SCR_EditableEntityComponent.Cast(item);
16 if (!editableEntity || (editableEntity.GetEntityType() != EEditableEntityType.GROUP)) return null;
17 if (editableEntity.HasEntityState(EEditableEntityState.PLAYER)) return null;
18 SCR_AIGroup aiGroup = SCR_AIGroup.Cast(editableEntity.GetOwner());
19 if (!aiGroup) return null;
20 AIFormationComponent AIFormation = AIFormationComponent.Cast(editableEntity.GetOwner().FindComponent(AIFormationComponent));
21 if (!AIFormation) return null;
22 AIFormationDefinition formation = AIFormation.GetFormation();
23 if (!formation) return null;
24 */
25
26
27 //Print(formation.GetName());
28
29
30
32 }
33
34 override void WriteVariable(Managed item, SCR_BaseEditorAttributeVar var, SCR_AttributesManagerEditorComponent manager, int playerID)
35 {
36 if (!var) return;
38
39 }
40};
SCR_AIAnimation_Loitering BaseContainerProps
Commanding menu commanding element class.
static SCR_BaseEditorAttributeVar CreateInt(int value)
Attribute base for Name, icon and float value for other attributes to inherent from.