Now, for the resurrection to occur i use the Revive() function, and this function sets the COUNTKILL flag of the resurrected monster, thus increasing the kill counter.
this is the line i use for this task
Code: Select all
a.Revive(); a.bFRIENDLY=1; a.height*=4; a.bCOUNTKILL=0; a.setstatelabel("Raise");
What does the Revive function does so that i can modified it so that it does not set the the countkill flag.