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

◆ OnDebugSpawn()

override void OnDebugSpawn ( )
protected

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

2786 {
2787 ItemBase firewood = ItemBase.Cast(GetInventory().CreateInInventory("Firewood"));
2788 firewood.SetQuantity(firewood.GetQuantityMax());
2789
2790 ItemBase sticks = ItemBase.Cast(GetInventory().CreateInInventory("WoodenStick"));
2791 sticks.SetQuantity(sticks.GetQuantityMax());
2792
2793 ItemBase stone = ItemBase.Cast(GetInventory().CreateInInventory("Stone"));
2794 stone.SetQuantity(stone.GetQuantityMax());
2795
2796 GetInventory().CreateInInventory("Rag");
2797
2798 SpawnEntityOnGroundPos("PetrolLighter", GetPosition());
2799 }
override bool SetQuantity(float value, bool destroy_config=true, bool destroy_forced=false, bool allow_client=false, bool clamp_to_stack_max=true)
Определения PileOfWoodenPlanks.c:88
vector GetPosition()
Get the world position of the Effect.
Определения Effect.c:473

Перекрестные ссылки GetPosition() и ItemBase::SetQuantity().