Some issues I'm having.

Espera
07 May 2014, 06:25
Firstly, I can't seem to get the game to print the right description for the player. No matter what I put in the player description box, typing 'look at me', only results in 'Looking great', or something like that.

Secondly, I'm having trouble getting the syntax for returning attribute values right. I mean making the game print the message "You have (player.gold) gold." I prefer to use the QUI whenver I can. I know in the tutorial it says it should be like "You have" +player.gold+ "gold." but I can't seem to get that to work.

jaynabonne
07 May 2014, 07:06
For the first issue, there are steps you need to take. I don't know why the player isn't set up properly out of the box.

Click on the player object, and go to the Features tab. At the bottom, check "Player: player can become this object". Then a new Player tab will appear, and you can go set the player description there. (You'll see it default to Looking Good.)

For the second, you can use a text processor command. Be sure you define the attribute on the player ahead of time on the attributes tab (else it will give an error). Be sure it's a proper Attribute, in the list at the *bottom* of the Attributes tab, not a Status Attribute. Then you can simply output something like:

The player has {player.gold} gold.

Note that those are curly braces, not parentheses.

Espera
07 May 2014, 09:10
Perfect! Thank you! That was immensely helpful.

HegemonKhan
07 May 2014, 18:59
just to comment further about the player description...

ya, it's a bit annoying, as Jay mentioned, as the 'normal description' place where you're typing it in, displays only for NON-player Objects (or when your Player Object isn't being controlled by you), so that's why your description isn't being displayed. Instead, there's another place for your description for your controlled Player Object, which Jay has already given to you. It took me awhile to realize this exact same problem myself, you're not the first to be confused by this issue with descriptions for the Player Objects.