DayZ
1.27
DayZ Explorer by KGB
Загрузка...
Поиск...
Не найдено
◆
GetHeadBonePos()
static void GetHeadBonePos
(
notnull
PlayerBase
player
,
out
vector
pos
)
static
protected
См. определение в файле
MiscGameplayFunctions.c
строка
716
717
{
718
// Get position of head for starting trace pos, otherwise use sane default
719
int
headBoneIdx = player.GetBoneIndexByName(
"Head"
);
720
if
( headBoneIdx == -1 )
721
{ pos = player.GetPosition()[1] + 1.6; }
722
else
723
{ pos = player.GetBonePositionWS(headBoneIdx); }
724
}
Ishodniki
scripts
4_World
Static
MiscGameplayFunctions.c
Создано системой
1.13.2