ON INIT {
 SET £dying_marker MARKER_0865
 SET £type "human_guard_ss"
 SET §frozen 1
 SET £voice "_vb"
 ACCEPT
}

ON INITEND {
 SENDEVENT -ir DURABILITY 100 "58"
 SET £flee_marker "FLEE_MARKER_0028"
 SET £helping_buddy "Human_base_0051"
 LOADANIM ACTION2 "human_normal_sit_in"
 LOADANIM ACTION3 "human_normal_sit_cycle"
 LOADANIM ACTION4 "human_noraml_sit_out"
 LOADANIM ACTION5 "human_normal_drink_cycle"
 SET £init_marker "Marker_0927"
  ACCEPT
}

ON CUSTOM {
  IF (^$PARAM1 == "SLY") {
    SPEAK [dissident_sly_dumb] nop
    ACCEPT
  }
 ACCEPT
}

ON REACHEDTARGET {
 IF (^target == "MARKER_0927") {
  BEHAVIOR FRIENDLY
  SETTARGET MARKER_0095
  SET §frozen 1
  TIMERsit 1 2 PLAYANIM -e ACTION2 PLAYANIM -l ACTION3
  ACCEPT
 }
 IF (^target == "MARKER_0725") {
  BEHAVIOR FRIENDLY
  SETTARGET MARKER_0927
  ACCEPT
 }
 ACCEPT
}

ON TALK {
 IF (^$PARAM1 == "KRAHOZ_PROTECTED") {
  BEHAVIOR FRIENDLY 
  SETTARGET HUMAN_BASE_0086
  TIMERspeak 1 1 SPEAK [Human_guard_sacred_krahoz_protected2] nop
  ACCEPT
 }
 IF (^$PARAM1 == "KRAHOZ_STOLEN") {
  SPEAK [Human_guard_sacred_krahoz_stolen2] nop
  ACCEPT
 }
 ACCEPT
}

ON WALK {
 BEHAVIOR MOVE_TO
 SETTARGET -a MARKER_0927
 ACCEPT
}

ON ALARM {
 TIMERsit off
 SPEAK -a ~£heardnoise~ NOP
 PLAYANIM NONE 
 BEHAVIOR MOVE_TO
 SETTARGET -a MARKER_0725
 SETMOVEMODE RUN
 ACCEPT
}
ON TOBAR {
 BEHAVIOR MOVE_TO
 SETTARGET -a MARKER_0927
 SETMOVEMODE WALK
 ACCEPT
}

ON CHAT {
 IF (#DISSIDENT == 3) {
  SPEAK -p [player_misc_hi_there] nop
  REFUSE
 }
 ACCEPT
}