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

◆ IsFacingPlayerEx()

bool Entity::IsFacingPlayerEx ( DayZPlayer player,
string selection )
inlineprotected

useful for construction and inventory related systems

См. определение в файле 3_Game/DayZ/Entities/EntityAI.c строка 1715

1716 {
1717 ConstructionBasic constructionComponent = GetConstructionBasic();
1718 if (constructionComponent)
1719 return constructionComponent.IsPartFacingPlayer(player, selection);
1720
1721 return true;
1722 }
bool IsPartFacingPlayer(DayZPlayer player, string partName)
Default return value is set so actions from the "inside" are always possible.
Определения Construction_Basic.c:17
ConstructionBasic GetConstructionBasic()
Construction itself is defined on module 4. Workaround. Don't forget to cast!

Перекрестные ссылки GetConstructionBasic() и ConstructionBasic::IsPartFacingPlayer().