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

◆ OnInventoryExit() [2/2]

override void ItemBase::OnInventoryExit ( Man player)
inlineprivate

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

63 {
64 super.OnInventoryExit(player);
65
66 if ( GetCompEM().IsWorking() )
67 {
68 if (player)
69 {
70 vector ori_rotate = player.GetOrientation();
71 ori_rotate = ori_rotate + Vector(270,0,0);
72 SetOrientation(ori_rotate);
73 }
74 }
75 }
proto native vector Vector(float x, float y, float z)
Vector constructor from components.

Перекрестные ссылки Vector().