How to make a character change feature
sonic102
30 Apr 2012, 06:03I have played the game called Escape the Prison.It's best feature is the character change.Can you tell me how to do a character change feature?
P.S:I'm using Quest 5.1.1
P.S:I'm using Quest 5.1.1
Chase
30 Apr 2012, 17:08It depends how you want to go about doing it. In inform it's easy, not sure if you can just set the player to equal and NPC in Quest. Might have to move all inventory, description and such around.
sgreig
01 May 2012, 00:46This is going to be a feature in an upcoming version of Quest. Currently, you can't actually switch out of the "player" object, so if you wanted a feature like that you'd have to fake it, which can be done, but there would be a lot of things to keep track of and might be more trouble than it's worth.
sonic102
03 May 2012, 06:06Well then, this is my idea for the new character change feature (if Alex ever reads this)
There will be a tickbox in the Options menu of every object called 'Make this the default character'.The 'player' object will have this ticked. (Althrough you can untick it). This will be a boolean attirbute. This will allow the creator to change the default character. Making a new object, by default, sets the tickbox unticked.
PS:You cannot make two or more objects ticked at the same time, and you cannot make no object ticked.
There will be a tickbox in the Options menu of every object called 'Make this the default character'.The 'player' object will have this ticked. (Althrough you can untick it). This will be a boolean attirbute. This will allow the creator to change the default character. Making a new object, by default, sets the tickbox unticked.
PS:You cannot make two or more objects ticked at the same time, and you cannot make no object ticked.