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

◆ PlaceOnGround()

void ItemBase::PlaceOnGround ( )
inlineprivate

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

6 {
7 vector pos = GetPosition();
8 pos[1] = GetGame().SurfaceRoadY(pos[0], pos[2]);
9 pos[1] = pos[1] + 0.22;
10 SetPosition(pos);
11 }
proto native float SurfaceRoadY(float x, float z, RoadSurfaceDetection rsd=RoadSurfaceDetection.LEGACY)
proto native CGame GetGame()
proto native void SetPosition(vector position)
Set the world position of the Effect.
Определения Effect.c:438
class JsonUndergroundAreaTriggerData GetPosition
Определения UndergroundAreaLoader.c:9

Перекрестные ссылки GetGame(), GetPosition, SetPosition() и CGame::SurfaceRoadY().