Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_EditorOpenedActionCondition.c
Go to the documentation of this file.
1
4{
5 [Attribute()]
6 protected bool m_ModeMustNotBeLimited;
7
8 //------------------------------------------------------------------------------------------------
10 {
11 //Editor not open
12 SCR_EditorManagerEntity editorMgr = data.GetEditorManager();
13 if (!editorMgr || !editorMgr.IsOpened())
14 return GetReturnResult(false);
15
16 //Editor is open and mode limted not important
18 return GetReturnResult(true);
19
20 SCR_EditorModeEntity mode = data.GetEditorModeEntity();
21 return GetReturnResult(mode && !mode.IsLimited());
22 }
23}
SCR_AIAnimation_Loitering BaseContainerProps
Commanding menu commanding element class.
void SCR_EditorManagerEntity(IEntitySource src, IEntity parent)
Get all prefabs that have the spawner data
A single available action condition representation.
Returns true when the editor is opened.
override bool IsAvailable(notnull SCR_AvailableActionsConditionData data)
SCR_FieldOfViewSettings Attribute