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

◆ EEItemLocationChanged()

override void Grenade_Base::EEItemLocationChanged ( notnull InventoryLocation oldLoc,
notnull InventoryLocation newLoc )
inlineprotected

activate grenade when it leaves player hands (safety handle released)

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

274 {
275 super.EEItemLocationChanged(oldLoc, newLoc);
276
278 if (newLoc.GetType() != InventoryLocationType.HANDS && !IsPinned())
279 {
280 Activate();
281 }
282 }
InventoryLocationType
types of Inventory Location
Определения InventoryLocation.c:4
bool IsPinned()
Определения Grenade_Base.c:74
void Activate()
Определения Grenade_Base.c:122

Перекрестные ссылки Activate() и IsPinned().