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

◆ HandleEntityFalling()

void HandleEntityFalling ( string partName)
protected

when supporting part is removed, entities on top of it should transform to surface Y height

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

242 {
243 ConstructionPart part = GetConstructionPart(partName);
244 if (part.CanSimulateItemFalling())
245 {
246 g_Game.GetCallQueue(CALL_CATEGORY_SYSTEM).Call(ItemFall, partName); //deferred call to allow for material spawning/part's phx adjustment
247 }
248 }
ConstructionPart GetConstructionPart()
Определения ActionPartInfo.c:235
void ItemFall(string partName)
Определения ConstructionBase.c:250
DayZGame g_Game
Определения DayZGame.c:4074
bool CanSimulateItemFalling()
Определения ConstructionPart.c:258
Instanced construction part data classes for dynamic data, statics now stored on EntityType level in ...
Определения ConstructionPart.c:4
const int CALL_CATEGORY_SYSTEM
Определения 3_Game/DayZ/tools/tools.c:8

Перекрестные ссылки CALL_CATEGORY_SYSTEM, ConstructionPart::CanSimulateItemFalling(), g_Game, GetConstructionPart() и ItemFall().

Используется в DestroyPartServer() и DismantlePartServerEx().