frame

character skeleton pose

value

as: |file|

atributes

  • * file [String] path to (*.ang) file
  • */- name [String] for control: "STAND", "RUN1", "RUN2", "RUN3", "RUN4""JUMPL1", "JUMPL2", "JUMPL3", "JUMPR1", "JUMPR2", "JUMPR3", "RIFLE_STAND", "RIFLE_RUN1", "RIFLE_RUN2", "RIFLE_RUN3", "RIFLE_RUN4", "RIFLE_FIRE", "RIFLE_PICK", "DOWN", "STAND", "DEAD_SHOT", "DEAD_JUMP"
    for agent: "STAND", "RUN1", "RUN2", "RUN3" ,"RUN4", "ROTATE1", "ROTATE2", "DEAD"
  • clip [String] path to sound file
  • keyCode [Character]
  • frameType [{enableWeapon,disableWeapon}]

Examples

frame("data/amy/keys/stand.ang", name:"STAND");
frame("data/amy/keys/run1.ang", name:"RUN1",
      clip:"data/amy/sounds/step.wav");