666 {
668 {
670 int intValue = strVal.
ToInt();
671 if (
g_Game.IsMultiplayer())
672 {
674 }
675 else
676 {
678 }
679 break;
681 float floatValue = strVal.
ToFloat();
682 if (
g_Game.IsMultiplayer())
683 {
685 }
686 else
687 {
689 }
690 break;
692 bool boolValue;
695 {
696 boolValue = true;
697 }
699 {
700 boolValue = false;
701 }
702 else
703 {
705 }
706
707 if (
g_Game.IsMultiplayer())
708 {
710 }
711 else
712 {
714 }
715 break;
716 }
717 }
DayZCreatureAnimScriptDebugVarType
void SyncSetValueBool(int index, bool value)
void SetValueInt(int index, int value)
void SyncSetValueInt(int index, int value)
void SetValueFloat(int index, float value)
void SetValueBool(int index, bool value)
DayZCreatureAnimScriptDebugVarType GetVariableType(int index)
void SyncSetValueFloat(int index, float value)
proto native int ToInt()
Converts string to integer.
bool Contains(string sample)
Returns true if sample is substring of string.
proto native float ToFloat()
Converts string to float.
proto int ToLower()
Changes string to lowercase. Returns length.