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

◆ RegisterNetworkStaticObject()

proto native bool CGame::RegisterNetworkStaticObject ( Object object)
private

Static objects cannot be replicated by default (there are too many objects on the map). Use this method when you want to replicate some scripted variables. Cannot be called in object's constructor, because networking is not initialized yet.

Аргументы
objectstatic object to replicate
Возвращает
false, if registration wasn't successful or when object is already registered

Используется в Land_WarheadStorage_Main::DeferredInit(), Land_WarheadStorage_PowerStation::DeferredInit(), Interact(), Land_Underground_Panel_Lever::Interact(), Land_OutsideThermometer_1(), LateInit() и Land_Underground_EntranceBase::OpenServer().