Hi! (lite-c v7.07.6)

"proc_kill(4); beendet alle anderen Instanzen der aktuellen Funktion.."

 Code:
function do_someting_for_all_models() {

  proc_kill(4);   // only one instance
  wait(1);
  ...
}

action act_mymodel() {
  ...
  if(a==b){
    do_someting_for_all_models();
  }
  ...
}


Now I expect, that do_someting_for_all_models(); only exists in one instance, but the actions of the models (act_mymodel()) keep on running.

I figured out proc_kill(4); kills (also) all instances of the calling action.