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

◆ OnEndAnimationLoop()

override void OnEndAnimationLoop ( ActionData action_data)

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

105 {
106 super.OnEndAnimationLoop(action_data);
107
108 if (!GetGame().IsMultiplayer() || GetGame().IsServer())
109 {
110 TrapBase trap = TrapBase.Cast( action_data.m_Target.GetObject());
111 Param1<bool> play = new Param1<bool>(false);
112 GetGame().RPCSingleParam(trap, SoundTypeTrap.ACTIVATING, play, true);
113 }
114 }
SoundTypeTrap
Определения TrapBase.c:2
proto native void RPCSingleParam(Object target, int rpc_type, Param param, bool guaranteed, PlayerIdentity recipient=null)
see CGame.RPC
Определения Trap_Bear.c:2
proto native CGame GetGame()

Перекрестные ссылки ActionData, GetGame() и CGame::RPCSingleParam().