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

◆ EEItemLocationChanged()

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

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

114 {
115 super.EEItemLocationChanged(oldLoc, newLoc);
116
118 {
119 if (oldLoc.GetType() == InventoryLocationType.GROUND && newLoc.GetType() == InventoryLocationType.GROUND)
120 {
121 SetActive();
122 m_TrapTrigger.SetPosition(m_TriggerPosition);
123 m_TrapTrigger.SetOrientation(m_TriggerOrientation);
124 }
125
127 }
128
129 if (oldLoc.GetType() == InventoryLocationType.GROUND && newLoc.GetType() == InventoryLocationType.CARGO)
130 {
131 SetInactive();
134 RefreshState();
135 }
136 }
InventoryLocationType
types of Inventory Location
Определения InventoryLocation.c:4
bool m_ResultOfAdvancedPlacing
Определения Trap_TripWire.c:19
enum eWireMaterial FOLDED
override void RefreshState()
Определения Trap_TripWire.c:194
override void SetInactive(bool stop_timer=true)
Определения Trap_TripWire.c:152
vector m_TriggerOrientation
Определения Trap_TripWire.c:21
vector m_TriggerPosition
Определения Trap_TripWire.c:20
void SetState(int state_ID)
Определения Trap_TripWire.c:174
void SetActive()
Определения TrapBase.c:413
TrapTrigger m_TrapTrigger
Определения TrapBase.c:44
void DeleteTrigger()
Определения TrapBase.c:487

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