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

◆ OnStartAnimationLoop()

override void OnStartAnimationLoop ( ActionData action_data)

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

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

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