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

◆ OnPlacementComplete()

override void OnPlacementComplete ( Man player,
vector position = "0 0 0",
vector orientation = "0 0 0" )
protected

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

141 {
142 super.OnPlacementComplete(player, position, orientation);
143
144 if (GetGame().IsServer())
145 {
146 SetOrientation(orientation);
147 SetPosition(position);
148 PlaceOnSurface();
149 }
150 }
proto native CGame GetGame()
proto native void SetPosition(vector position)
Set the world position of the Effect.
Определения Effect.c:438

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