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

◆ EOnContact()

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

Phx contact event

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

941 {
942 if( !IsAlive() )
943 return;
944
945 Transport transport = Transport.Cast(other);
946 if( transport )
947 {
948 if ( GetGame().IsServer() )
949 {
950 RegisterTransportHit(transport);
951 }
952 }
953 }
proto native CGame GetGame()

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