DayZ 1.27
DayZ Explorer by KGB
 
Загрузка...
Поиск...
Не найдено

◆ EEItemLocationChanged()

override void EEItemLocationChanged ( notnull InventoryLocation oldLoc,
notnull InventoryLocation newLoc )
protected

См. определение в файле Trap_TripWire.c строка 111

112 {
113 super.EEItemLocationChanged(oldLoc, newLoc);
114
116 {
117 if (oldLoc.GetType() == InventoryLocationType.GROUND && newLoc.GetType() == InventoryLocationType.GROUND)
118 {
119 SetActive();
120 m_TrapTrigger.SetPosition(m_TriggerPosition);
121 m_TrapTrigger.SetOrientation(m_TriggerOrientation);
122 }
123
125 }
126
127 if (oldLoc.GetType() == InventoryLocationType.GROUND && newLoc.GetType() == InventoryLocationType.CARGO)
128 {
129 SetInactive();
132 RefreshState();
133 }
134 }
InventoryLocationType
types of Inventory Location
Определения InventoryLocation.c:4
bool m_ResultOfAdvancedPlacing
Определения Trap_TripWire.c:19
enum eWireMaterial FOLDED
override void RefreshState()
Определения Trap_TripWire.c:192
override void SetInactive(bool stop_timer=true)
Определения Trap_TripWire.c:150
vector m_TriggerOrientation
Определения Trap_TripWire.c:21
vector m_TriggerPosition
Определения Trap_TripWire.c:20
void SetState(int state_ID)
Определения Trap_TripWire.c:171
void SetActive()
Определения TrapBase.c:414
TrapTrigger m_TrapTrigger
Определения TrapBase.c:44
void DeleteTrigger()
Определения TrapBase.c:488

Перекрестные ссылки DeleteTrigger(), FOLDED, m_ResultOfAdvancedPlacing, m_TrapTrigger, m_TriggerOrientation, m_TriggerPosition, RefreshState(), SetActive(), SetInactive() и SetState().