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

◆ EEItemDetached()

override void FlammableBase::EEItemDetached ( EntityAI item,
string slot_name )
inlineprotected

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

452 {
453 super.EEItemDetached( item, slot_name );
454
456 {
457 if (g_Game.IsServer() || !g_Game.IsMultiplayer())
458 {
459 EntityAI rags = EntityAI.Cast(g_Game.CreateObjectEx(item.GetType(), GetPosition(), ECE_PLACE_ON_SURFACE));
460 if( rags )
461 MiscGameplayFunctions.TransferItemProperties(item, rags);
462 }
463 return;
464 }
465
468 g_Game.GetCallQueue( CALL_CATEGORY_SYSTEM ).CallLater( TryTransformIntoStick, 100);
469 }
class LogManager EntityAI
const int ECE_PLACE_ON_SURFACE
Определения CentralEconomy.c:37
DayZGame g_Game
Определения DayZGame.c:3942
void UpdateCheckForReceivingUpgrade()
Определения Torch.c:195
bool m_IsBeingDestructed
Определения Torch.c:17
void TryTransformIntoStick()
Определения Torch.c:479
void CalculateQuantity()
Определения Torch.c:422
vector GetPosition()
Get the world position of the Effect.
Определения Effect.c:473
const int CALL_CATEGORY_SYSTEM
Определения 3_Game/DayZ/tools/tools.c:8

Перекрестные ссылки CalculateQuantity(), CALL_CATEGORY_SYSTEM, ECE_PLACE_ON_SURFACE, g_Game, GetPosition(), m_IsBeingDestructed, TryTransformIntoStick() и UpdateCheckForReceivingUpgrade().