How do I make Ego die?
PS sorry if this has been posted before, i didn't check the older posts too carefully
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
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.
In the times of AC there was such an option provided by the engine - to kill the player. I wonder why Chris removed it.
In the dos versiion of AGS was the kill player hotspot interaction...
But I think it just crashed the game...
thanks guys, you were a big help. Can't have no game without dieing
Just have him go back to room1.crm so he "dies" or ends the game.
Alternately, make a 'restore/restart/quit' gui and pop it up modally.
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.