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

◆ GetEntityByPersitentID()

proto native EntityAI CGame::GetEntityByPersitentID ( int b1,
int b2,
int b3,
int b4 )
protected

Returns EntityAI by its persistent ID parts or null if entity with given persistent ID does not exists.

This function returns valid data only inside AfterLoad event. Do not use this in anywhere else.

Its main purpose is only for keep track on object connections after server restarts, all data related to this function are deleted when server initialization is done.

Используется в Entity::EEOnAfterLoad().