PROTO NetworkSFRotation [ eventIn SFRotation set_value eventOut SFRotation value_changed eventIn SFRotation value_fromnet eventOut SFRotation value_tonet exposedField SFString tag "" exposedField SFBool pilotOnly TRUE field SFBool localCopy TRUE exposedField SFBool echo TRUE exposedField SFBool cont FALSE ] { Script { eventIn SFRotation InSc IS set_value eventOut SFRotation OutSc IS value_changed eventIn SFRotation netInSc IS value_fromnet eventOut SFRotation netOutSc IS value_tonet field SFBool local IS localCopy directOutput TRUE mustEvaluate TRUE url "javascript: function InSc(value) { netOutSc = value; if( local == true ) OutSc = value; } function netInSc(value) { OutSc = value; } " } }