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

◆ CreateConstructionKit()

ItemBase ItemBase::CreateConstructionKit ( )
inlineprotected

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

377 {
378 ItemBase construction_kit = ItemBase.Cast( GetGame().CreateObjectEx( GetConstructionKitType(), GetKitSpawnPosition(), ECE_PLACE_ON_SURFACE ) );
379 if ( m_ConstructionKitHealth > 0 )
380 {
381 construction_kit.SetHealth( m_ConstructionKitHealth );
382 }
383
384 return construction_kit;
385 }
const int ECE_PLACE_ON_SURFACE
Определения CentralEconomy.c:37
class GP5GasMask extends MaskBase ItemBase
vector GetKitSpawnPosition()
Определения BaseBuildingBase.c:396
string GetConstructionKitType()
Определения BaseBuildingBase.c:401
float m_ConstructionKitHealth
Определения BaseBuildingBase.c:6
proto native CGame GetGame()

Перекрестные ссылки ECE_PLACE_ON_SURFACE, BaseBuildingBase::GetConstructionKitType(), GetGame(), BaseBuildingBase::GetKitSpawnPosition() и m_ConstructionKitHealth.