You could just implement a Voodoo fix like Sony did. . .
Isn't that what "Pain and Suffering" are there for? When you are unconcious and dying, you are always killed by "Pain and Suffering."
Just include a small code block that says something like the following:
Code:
If your health is less than (purple bar) then
Spawn "Pain and Suffering" at your loc
While your health is less than (purple bar) AND you are still alive
Make "Pain and Suffering" attack you
End while
Despawn "Pain and Suffering"
End if
Wouldn't that do it? Of course, without actually looking at the code (and I can't because I'm still at work :(), I can't tell you how to actually implement it though.
__________________
THE POSTER assumes no warranty, guarantee, or representation as to the accuracy
or sufficiency of the information presented herein, and THE POSTER assumes no
responsibility or liability regarding the use or misuse of such information.
Furthermore THE POSTER assumes no responsibility and makes no warranty, guarantee,
or representation for the content of any web or FTP sites linked to or from this
post.
THE POSTER reserves the right to change the terms, conditions, and notices under
which THE POSTER presents information. It is the responsibility of THE READER to
regularly review these terms, conditions, and notices. THE READER understands that
the reading of any content including or covered by this disclaimer constitutes THE
READER's acceptance of and agreement to such changes.
THE POSTER retains the right to in any way alter the content of this post at any
time with or without prior notice to THE READER.
|