Change player object

rgauthier
11 Dec 2018, 20:33

Whenever I run my change player object it works but, when I return to that room there is an object called player that won't go away.
Example. My character enters the room, switches on the lever and becomes another object( player becomes a costume). He then leaves the room and when he returns, in the room description there is a player object. The blank player object lingers even after switching back to the original player object.

Any suggestions?


XanMag
11 Dec 2018, 21:25

Add to your change player script a “make object [player]” invisible script.

Just be sure to reverse that when you switch back to the player. Let us know if that works.


rgauthier
12 Dec 2018, 15:16

Hello XanMag,
Thank you for the advice. I had to rename my player back to the word "player" in order to make the suggestion work.
I just put the alternate name as an alias. Now when I come or go and put on the costume or remove it i no longer have an object called player lingering around. Thanks again. This is my first attempt at making a text adventure using Quest and I am enjoying the experience alot. Hopefully I can make a complete story to publish sometime soon.
Thanks
rgauthier


XanMag
13 Dec 2018, 01:52

Good! Ask questions if you have them. Good helpers here!