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

◆ OnWasDetached() [3/3]

override void InventoryItemSuper::OnWasDetached ( EntityAI parent,
int slot_id )
inlineprotected

См. определение в файле 4_World/DayZ/Entities/Core/Inherited/InventoryItem.c строка 303

304 {
305 super.OnWasDetached(parent, slot_id);
306
307 #ifndef SERVER
308 EffectSound effect = SEffectManager.PlaySound(m_DetachSound, GetPosition());
309 effect.SetAutodestroy(true);
310 #endif
311 }
override void SetAutodestroy(bool auto_destroy)
Sets whether Effect automatically cleans up when it stops.
Определения EffectSound.c:603
vector GetPosition()
Get the world position of the Effect.
Определения Effect.c:473

Перекрестные ссылки GetPosition(), m_DetachSound, SEffectManager::PlaySound() и EffectSound::SetAutodestroy().