Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: Tiki on Sun 25/05/2003 23:34:13

Title: death
Post by: Tiki on Sun 25/05/2003 23:34:13
How do I make Ego die?

PS sorry if this has been posted before, i didn't check the older posts too carefully
Title: Re:death
Post by: miguel on Sun 25/05/2003 23:40:44
kill him


sorry, only a bad joke, send roger(ego) to a room with, let's say, a game-over screen, then hide the player character(on the settings editor) and make it a no-return room or with options to restart or/and load a previous game.
that should do it
Title: Re:death
Post by: Squinky on Mon 26/05/2003 05:49:29
Just script it out....

You could have an animation run, change his view, or jusd send him to room-1 and turn on a transparent object that looks like him dead.
If you want to restart the game, there are functions for that also.
Just check out the help section in ags for all the scripting help you need.
Title: Re:death
Post by: Erica McLane on Mon 26/05/2003 13:37:09
In the times of AC there was such an option provided by the engine - to kill the player. I wonder why Chris removed it.
Title: Re:death
Post by: Ishmael on Mon 26/05/2003 13:48:27
In the dos versiion of AGS was the kill player hotspot interaction...

But I think it just crashed the game...
Title: Re:death
Post by: Tiki on Mon 26/05/2003 21:35:49
thanks guys, you were a big help.  Can't have no game without dieing
Title: Re:death
Post by: computerbynar on Fri 26/03/2004 13:42:59
Just have him go back to room1.crm so he "dies" or ends the game.
Title: Re:death
Post by: Radiant on Fri 26/03/2004 14:03:47
Alternately, make a 'restore/restart/quit' gui and pop it up modally.
Title: Re:death
Post by: Hollister Man on Sun 28/03/2004 04:57:21
Yeah, all you gotta do is make a PlayerDies(int deathtype, string text);

With some work you can make a GUI that looks just like the old Sierra games death screen.