Code:
my.entity_type = type_combatant_enemy;
???my.EXP = 50???
combatant();
return;


I think that´s for the end of the battle..

Ok.. best is, that you give a skill the exp of the enemy:
Code:
action Beast_enemy1()
{
  my.skill99 = 50  // these are the EXP, the enemy gives after dead

  if (my.leader > 0) 
  {
    find_path();
    set_ai_formation(my.ent_formation_id);
  }

  my.entity_type = type_combatant_enemy;

  player.EXP += my.skill99; // Here i give the player the exp of the enemy

  combatant();
  return;
}

Like before, not tried.


Selling my Acknex Engine Editions (A7 Com & A8 Pro):
>> click here if you are interested <<