the original



  WorldInfo { }
  PROTO Humanoid [ ... ]{ ... }
  PROTO Joint    [ ... ]{ ... }
  PROTO Segment  [ ... ]{ ... }
  PROTO Site     [ ... ]{ ... }
  
  DEF Humanoid Humanoid { ... }
  

the modified version



  WorldInfo { }
  PROTO Humanoid [ ... ]{ ... }
  PROTO Joint    [ ... ]{ ... }
  PROTO Segment  [ ... ]{ ... }
  PROTO Site     [ ... ]{ ... }
  
  PROTO Humanoid-raven [
   (a)interface of Humanoid
   (b)interface for STEP
  ]{ ## body
  DEF Humanoid Humanoid {
  ...
   (c)script to export H-Anim names
  } ## end Humanoid
  } ## end PROTO
  

interface for STEP



  
  eventOut SFNode l_shoulder 
  eventOut SFNode r_shoulder 
  eventOut SFNode l_elbow 
  eventOut SFNode r_elbow 
  eventOut SFNode l_hip 
  eventOut SFNode r_hip 
  eventOut SFNode l_ankle 
  eventOut SFNode r_ankle 
  eventOut SFNode l_knee 
  eventOut SFNode r_knee 
  eventOut SFNode l_wrist 
  eventOut SFNode r_wrist 
  eventOut SFNode vl5 
  eventOut SFNode skullbase 
  eventOut SFNode humanoidroot 
  eventOut SFNode sacroiliac 
  
  
  

script to export STEP names



  Script {
  mustEvaluate TRUE
  directOutput TRUE
  
  
  eventOut SFNode l_shoulder IS l_shoulder
  eventOut SFNode r_shoulder IS r_shoulder
  eventOut SFNode l_elbow IS l_elbow
  eventOut SFNode r_elbow IS r_elbow
  eventOut SFNode l_hip IS l_hip
  eventOut SFNode r_hip IS r_hip
  eventOut SFNode l_ankle IS l_ankle
  eventOut SFNode r_ankle IS r_ankle
  eventOut SFNode l_knee IS l_knee
  eventOut SFNode r_knee IS r_knee
  eventOut SFNode l_wrist IS l_wrist
  eventOut SFNode r_wrist IS r_wrist
  eventOut SFNode vl5 IS vl5
  eventOut SFNode skullbase IS skullbase
  eventOut SFNode humanoidroot IS humanoidroot
  eventOut SFNode sacroiliac IS sacroiliac
  
  field SFNode hanim_l_shoulder USE hanim_l_shoulder
  field SFNode hanim_r_shoulder USE hanim_r_shoulder
  field SFNode hanim_l_elbow USE hanim_l_elbow
  field SFNode hanim_r_elbow USE hanim_r_elbow
  field SFNode hanim_l_hip USE hanim_l_hip
  field SFNode hanim_r_hip USE hanim_r_hip
  field SFNode hanim_l_ankle USE hanim_l_ankle
  field SFNode hanim_r_ankle USE hanim_r_ankle
  field SFNode hanim_l_knee USE hanim_l_knee
  field SFNode hanim_r_knee USE hanim_r_knee
  field SFNode hanim_l_wrist USE hanim_l_wrist
  field SFNode hanim_r_wrist USE hanim_r_wrist
  field SFNode hanim_vl5 USE hanim_vl5
  field SFNode hanim_skullbase USE hanim_skullbase
  field SFNode hanim_humanoidroot USE hanim_HumanoidRoot
  field SFNode hanim_sacroiliac USE hanim_sacroiliac
  
  url "javascript:
  function initialize() {
  l_shoulder = hanim_l_shoulder;
  r_shoulder = hanim_r_shoulder;
  l_elbow = hanim_l_elbow;
  r_elbow = hanim_r_elbow;
  l_hip = hanim_l_hip;
  r_hip = hanim_r_hip;
  l_ankle = hanim_l_ankle;
  r_ankle = hanim_r_ankle;
  l_knee = hanim_l_knee;
  r_knee = hanim_r_knee;
  l_wrist = hanim_l_wrist;
  r_wrist = hanim_r_wrist;
  vl5 = hanim_vl5;
  skullbase = hanim_skullbase;
  humanoidroot = hanim_humanoidroot;
  sacroiliac = hanim_sacroiliac;
  }
  "
  } ## end script
  

step_kernel



  humanoid_objects(true).