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

◆ CreateNewEntity()

EntityAI ReplaceAndDestroyLambdaEx::CreateNewEntity ( )
inlineprotected

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

179 {
180 EntityAI newItem = super.CreateNewEntity();
181
182 if (!newItem && m_Drop)
183 {
184 newItem = EntityAI.Cast(GetGame().CreateObjectEx(m_NewItemType, m_TargetPlayer.GetPosition(), ECE_PLACE_ON_SURFACE|ECE_LOCAL));
185 }
186
187 return newItem;
188 }
class LogManager EntityAI
const int ECE_LOCAL
Определения CentralEconomy.c:24
const int ECE_PLACE_ON_SURFACE
Определения CentralEconomy.c:37
PlayerBase m_TargetPlayer
Определения ActionUnrestrainTarget.c:149
proto native CGame GetGame()

Перекрестные ссылки ECE_LOCAL, ECE_PLACE_ON_SURFACE, GetGame(), ReplaceAndDestroyLambda::m_Drop и ReplaceAndDestroyLambda::m_TargetPlayer.