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