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

◆ EOnContact()

void DayZCreatureAI::EOnContact ( IEntity other,
Contact extra )
inlineprotected

Phx contact event

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

897 {
898 if( !IsAlive() )
899 return;
900
901 Transport transport = Transport.Cast(other);
902 if( transport )
903 {
904 if ( GetGame().IsServer() )
905 {
906 RegisterTransportHit(transport);
907 }
908 }
909 }
proto native CGame GetGame()

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