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

◆ ActionConditionContinue()

override bool ActionConditionContinue ( ActionData action_data)

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

57 {
58 //Server
59 if (GetGame().IsDedicatedServer())
60 {
61 if (action_data.m_Player.IsPlacingServer())
62 {
63 if (GetGame().IsMultiplayer())
64 action_data.m_Player.GetHologramServer().EvaluateCollision(action_data.m_MainItem);
65
66 if (!action_data.m_Player.GetHologramServer().IsColliding())
67 {
68 if (action_data.m_MainItem.CanBePlaced(action_data.m_Player, action_data.m_Player.GetHologramServer().GetProjectionEntity().GetPosition()))
69 return true;
70 }
71 return false;
72 }
73 return false;
74 }
75 return true;
76 }
proto native CGame GetGame()

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