Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_ItemPlacementActionsDisplay.c
Go to the documentation of this file.
3{
6
7 //------------------------------------------------------------------------------------------------
8 override string GetUIName()
9 {
10 if (m_sItemName.IsEmpty())
11 return string.Empty;
12
13 return WidgetManager.Translate(m_sName, m_sItemName);
14 }
15
16 //------------------------------------------------------------------------------------------------
17 override bool IsAvailable(notnull SCR_AvailableActionsConditionData data, float timeSlice)
18 {
19 m_sItemName = data.GetCurrentlyPlacedItemName();
20 if (m_sItemName.IsEmpty())
21 return false;
22
23 return super.IsAvailable(data, timeSlice);
24 }
25}
SCR_AIAnimation_Loitering BaseContainerProps
Commanding menu commanding element class.
Get all prefabs that have the spawner data
override bool IsAvailable(notnull SCR_AvailableActionsConditionData data, float timeSlice)