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

◆ OnEnd()

override void OnEnd ( ActionData action_data)

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

92 {
93 if ( !GetGame().IsMultiplayer() || GetGame().IsServer() )
94 {
95 TrapBase trap = TrapBase.Cast( action_data.m_Target.GetObject());
96 if ( trap )
97 {
98 Param1<bool> play = new Param1<bool>( false );
99 GetGame().RPCSingleParam( trap, SoundTypeTrap.ACTIVATING, play, true );
100 }
101 }
102 }
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().