Silly question: Ego death

Corby How exactly do you kill your character? In my first game, you couldn't die, so I never learnt this. Is there a special flag or something? Thanks for your time.
AGI1122 load.view(1);
set.view(ego,1);
program.control();
stop.motion(ego);
death_type = 1;


Basically what happens with this code is it loads view 1, sets ego to be view 1, turns on program control(so the user can't move the ego anymore) stops the ego's motion, then sets death_type to 1 which prints death message 1 which can be found in logic 94(logic 94 is the death script).

If you need more help just ask.
Andrew_Baker You can also have multiple death type messages by using setting death_type to a different number.
Corby Then after the death, the player can only restore or restart, as in standard sierra games?
Thanks for the help.
AGI1122 Yes, and your welcome.
Kon-Tiki Never knew about death_type ::) What I always did, is using a print command with the message, then call(94); ::)
I guess the method given earlier is better though.

-Kon-Tiki-
Andrew_Baker I never took advantage of the different possible death messages. That just never made it into my feature list. Too bad, really, as that could have made for a great place to make some voodoo jokes.
Oliver
Kon-Tiki wrote:

Never knew about death_type ::) What I always did, is using a print command with the message, then call(94); ::)
I guess the method given earlier is better though.

-Kon-Tiki-



Yeah....same here Kon-Tiki