script


  
  DEF SCRIPT Script {
      directOutput TRUE
  
      field    SFNode  me        USE SCRIPT
  
      field    SFTime  oldTick   0
      eventIn  SFTime  tick
  
      field    SFInt32 oldMask   0
      eventIn  SFNode  onEvent
  
      eventOut SFVec3f    position_changed
      eventOut SFRotation orientation_changed
      eventOut SFInt32    hide_text
  
      field SFFloat    speed       0 
      field SFVec3f    position    0 0 0
      field SFVec3f    direction   0 0 1
      field SFRotation orientation 0 0 1 0