Damage and Death question

Die_In_Fire

Well-known member
on the arcade Double Dragon, you cannot kill the enemies until you finish them with a knockdown attack. The same way you can keep fighting without energy (zombie state as I called with my friends back on the day) until you fall )from a 2nd floor or from a knockdown attack).
This was a feature I have only saw on old Technos games.

I would like to reproduce that effect on enemies: Once I hit them and take all their energy, I don't want them to die until a finish blow is given.

someone have a script for a situation like this?
 
You could use changeentityproperty(entity,"dead", values)  (I'm using OpenBoR v3.0 Build 3849)

e.g.:
void self = getlocalvar("self");
changeentityproperty(self,"dead",0);  // entity can't die


===========

void self = getlocalvar("self");
changeentityproperty(self,"dead",1);  // entity can die, but only use this when health is <= 0
 
you can try it also using the command:

nokill 1

wth this set in all attack animations players/enemies will take damage until  life = 1 
and for attacks that makes enemies/players fall you dont use it and they will die in the way you want

 
Back
Top Bottom