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

◆ OnPlacementComplete()

override void GardenBase::OnPlacementComplete ( Man player,
vector position = "0 0 0",
vector orientation = "0 0 0" )
inlineprivate

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

84 {
85 super.OnPlacementComplete( player, position, orientation );
86
87 // To properly move the clutter cutter from spawn position, it must be deleted and created again.
89 {
91 m_ClutterCutter = NULL;
92 }
93
94 if (!m_ClutterCutter)
95 {
97 m_ClutterCutter.SetOrientation( orientation );
98 }
99
100 SyncSlots();
101 }
const int ECE_PLACE_ON_SURFACE
Определения CentralEconomy.c:37
override void SyncSlots()
Определения GardenPlot.c:184
proto native Object CreateObjectEx(string type, vector pos, int iFlags, int iRotation=RF_DEFAULT)
Creates object of certain type.
proto native void ObjectDelete(Object obj)
Object m_ClutterCutter
Определения GardenPlot.c:3
proto native CGame GetGame()
class JsonUndergroundAreaTriggerData GetPosition
Определения UndergroundAreaLoader.c:9

Перекрестные ссылки CGame::CreateObjectEx(), ECE_PLACE_ON_SURFACE, GetGame(), GetPosition, m_ClutterCutter, CGame::ObjectDelete() и SyncSlots().