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

◆ ActionConditionContinue()

override bool ActionConditionContinue ( ActionData action_data)

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

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

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