I want to make beat'em up game with RPGiabox.
I get 'Entity ID already exists' message after I won the second time and the sprite won't show up again.
[
And here the script when the character dies
add_character("Enemy", "ici", "Enemy");
entity["Enemy"].behavior["move_direction"] = "ramdom";
entity["Enemy"].behavior["hostility"] = "always";
entity["Enemy"].behavior["player_interest"] = "seek_player";
entity["Enemy"].behavior["attackable_in_realtime"] = true;
entity["Enemy"].behavior["on_death"] = "run_script";
entity["Enemy"].behavior["on_death_script"] = "enemy loses";
I used V1.2.2. of RPG in the box.