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

◆ OnDebugSpawn()

override void Mosin9130_Base::OnDebugSpawn ( )
inlineprivate

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

31 {
32 super.OnDebugSpawn();
33 GameInventory inventory = GetInventory();
34
35 inventory.CreateInInventory( "PUScopeOptic" );
36 inventory.CreateInInventory( "Mosin_Compensator" );
37
38 EntityAI entity;
39 if ( Class.CastTo(entity, this) )
40 {
41 entity.SpawnEntityOnGroundPos("Ammo_762x54", entity.GetPosition());
42 }
43 }
class LogManager EntityAI
EntityAI CreateInInventory(string type)
creates entity somewhere in inventory
Определения Inventory.c:874

Перекрестные ссылки Class::CastTo() и GameInventory::CreateInInventory().