DoubleX RMMV Death Records

Purpose


Lets users mark the actors/enemies' death times via their ids


Games using this plugin


None so far


Plugin Calls

Spoiler
Spoiler






* # Party manipulations
* 1. markActorDeathRecords[actorId] = boolean
* - Sets whether each death of actor with id actorId will be marked
* 2. markEnemyDeathRecords[enemyId] = boolean
* - Sets whether each death of enemy with id actorId will be marked
* 3. actorDeathRecords[actorId]
* - Returns the marked number of deaths of actor with id actorId
* 4. enemyDeathRecords[enemyId]
* - Returns the marked number of deaths of enemy with id actorId





Prerequisites


1. Little Javascript coding proficiency to fully utilize this plugin


Terms Of Use

Spoiler
Spoiler






* 1. Commercial use's always allowed and crediting me's always optional.
* 2. You shall keep this plugin's Plugin Info part's contents intact.
* 3. You shalln't claim that this plugin's written by anyone other than
* DoubleX or my aliases. I always reserve the right to deny you from
* using any of my plugins anymore if you've violated this.
* 4. CC BY 4.0, except those conflicting with any of the above, applies
* to this plugin, unless you've my permissions to not to follow so.
* 5. I always reserve the right to deny you from using this plugin
* anymore if you've violated any of the above.





Changelog

Spoiler
Spoiler






* v1.00a(GMT 1400 19-2-2016):
* 1. 1st version of this plugin finished





View attachment DoubleX RMMV Death Records v100a.rar
I have a question.
If I wrote
$gameParty.markActorDeathRecords[1] = true;

When does the death record rise? Is this checking each time actor get 'death' state?

For example, Actor 1 died 2 times and revived 2 times, so he finished the battle in alive state. How the death record works?
I have a question.
If I wrote
$gameParty.markActorDeathRecords[1] = true;

When does the death record rise? Is this checking each time actor get 'death' state?

For example, Actor 1 died 2 times and revived 2 times, so he finished the battle in alive state. How the death record works?
Technically, it's when the Game_Actor.prototype.die function called.
So in your example, the death record of Actor 1 should be increased by 2 🙂

Original thread: https://forums.rpgmakerweb.com/threads/doublex-rmmv-death-records.57152/