DayZ 1.29
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 {
90 g_Game.ObjectDelete(m_ClutterCutter);
91 m_ClutterCutter = NULL;
92 }
93
94 if (!m_ClutterCutter)
95 {
96 m_ClutterCutter = g_Game.CreateObjectEx( "ClutterCutter6x6", GetPosition(), ECE_PLACE_ON_SURFACE );
97 m_ClutterCutter.SetOrientation( orientation );
98 }
99
100 SyncSlots();
101 }
const int ECE_PLACE_ON_SURFACE
Определения CentralEconomy.c:37
DayZGame g_Game
Определения DayZGame.c:3942
override void SyncSlots()
Определения GardenPlot.c:184
Object m_ClutterCutter
Определения GardenPlot.c:3
vector GetPosition()
Get the world position of the Effect.
Определения Effect.c:473

Перекрестные ссылки ECE_PLACE_ON_SURFACE, g_Game, GetPosition(), m_ClutterCutter и SyncSlots().