i dont think that the xy data has something to do with the Issue..
.. i just killed 3 Orcs in 3 different Turns, without any Issues..
also i removed "break" from 2 other functions, where they seem to be not needed..
(github updated)
->but that doesnt seem to change anything, from what i tested i get no Issues before and after that last chage
At the moment i got no idea what else could give you these problems in your project, because i can replicate the problem in my test project so far.
And without Error-Info its a bit difficult..
edit
perhaps that Issues might be related to other plugins and incompatiblety?
did you try to turn any other plugin "OFF" ?
edit2
i need more informations , to what that Issue is related, at the moment the only hint is that it happens to "enemyUnits" after the first turn?
-actors dont have that issue?
-> does that also happen, if
no "enemyUnit" get killed in the first turn??
-> are these different "enemyUnits"
(different_enemyId) or are they clones
(same_enemyID) ?
-> if you open the console and check the GraveEvents with using:
View attachment 207529
View attachment 207530
this shows where you find following data in the GraveEvent
-> eventid:
event id on the current map
-> _graveActor:
id of related actor if that grave is an actorGrave else 0
-> _graveDataEID:
event id of the grave on the GraveMap
-> _graveUnitID:
UnitID of related Unit if that grave is an enemyUnitGrave else 0
with these infos you can see which graves belong to which Actors or enemyUnits, and that way you can see which Grave might be missing..
i guess that for some reason the graves you are missing are not even spawned in the first place, but i dont know why..
--------------------------
@xabileug
i recognized an Issue with your plugin
SRPG_UnitMapInfo,
some Units have empty HP bars even if they still have some hp left..
idk why that happens , i might need to look into that later..
View attachment 207521