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

◆ OnStartAnimationLoop()

override void OnStartAnimationLoop ( ActionData action_data)

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

245 {
246 if (!GetGame().IsDedicatedServer())
247 {
248 if (action_data.m_Player.GetItemInHands())
249 ActiondeployObjectCB.Cast(action_data.m_Callback).DropDuringPlacing(); //legacy stuff
250
251 if (HasProgress()) // if object has no progress, it is moved directly when action finishes
252 {
253 ClearInventoryReservationEx(action_data); // Clear reservation as we put the main item from hands on ground
254 DropDuringPlacing(action_data.m_Player);
255 }
256 }
257 }
override bool HasProgress()
Определения ActionActivateTrap.c:41
void DropDuringPlacing()
DEPRECATED.
proto native CGame GetGame()

Перекрестные ссылки ActionData, DropDuringPlacing(), GetGame() и HasProgress().