Problems with the set command.
RealSlimShady
14 Jul 2014, 08:08Hi, I'm making this text adventure where you have different titles/classes and I'm trying to make it where if you go into a certain room/dungeon for the first time on the status bar the player attribute title changes to one of the titles. Under the Player tab I made an attribute (http://i.imgur.com/iGdPfLc.jpg) that shows up as Title: when I play the game (http://i.imgur.com/MjuE01f.jpg). In the room thats supposed to add a title on the status bar I used the set script (http://i.imgur.com/9s2OU1h.jpg) and when I played the game I got an error saying:
Error running script: Error compiling expression 'title': Unknown object or variable 'title'
Is there something I'm doing wrong? How do I fix it?
Error running script: Error compiling expression 'title': Unknown object or variable 'title'
Is there something I'm doing wrong? How do I fix it?

jaynabonne
14 Jul 2014, 09:47I think you probably need to put "Knight" in quotes, and it looks like you need to for "title" as well. Just a guess... It's trying to use "title" as a variable instead of as a string value.
RealSlimShady
14 Jul 2014, 10:31Works perfect. Thanks!