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

◆ TeleportPlayerToSafeLocation3D()

static bool TeleportPlayerToSafeLocation3D ( notnull PlayerBase player,
vector safePos )
staticprotected

'stupider' teleport method, does not touch flag management. Applies Y from the position as well!

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

1740 {
1741 vector playerPos = player.GetPosition();
1742 if (playerPos != safePos)
1743 {
1744 player.SetPosition(safePos);
1745 g_Game.RPCSingleParam(player, ERPCs.RPC_WARNING_TELEPORT, null, true, player.GetIdentity());
1746
1747 return true;
1748 }
1749
1750 return false;
1751 }
DayZGame g_Game
Определения DayZGame.c:3942
ERPCs
Определения ERPCs.c:2
Определения EnConvert.c:119

Перекрестные ссылки g_Game.