Problems with the set command.

RealSlimShady
Hi, 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?

jaynabonne
I 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
Works perfect. Thanks!

This topic is now closed. Topics are closed after 60 days of inactivity.

Support

Forums