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

◆ RegisterNetSyncVariableFloat()

proto native void Entity::RegisterNetSyncVariableFloat ( string variableName,
float minValue = 0,
float maxValue = 0,
int precision = 1 )
protected

registers float variable synchronized over network

Аргументы
[in]variableNamewhich variable should be synchronized
[in]minValueminimal value used for quantization (when minValue == maxValue, no quatization is done)
[in]maxValuemaximal value used for quantization (when minValue == maxValue, no quatization is done)
[in]precisionprecision in number of digits after decimal point

Используется в EntityAI() и InitItemVariables().