Using Status Attributes in Browser?

over9000speaks
14 Mar 2013, 18:35
Hello everyone,

Fair warning: I'm very new to using Quest.

I have been reading through the tutorial and saw this page, which has the note at the top - The attributes editor is currently only available in the Windows desktop version of Quest.

That being said, is there anyway to use stat attributes in my browser version of Quest? ... or any other way that I can simulate my character's health / strength, etc.?

Thanks.

sonic102
14 Mar 2013, 18:57
Well, if there is no Attirbutes editor, there will be no Status editor.

You could use variables.

TriangleGames
14 Mar 2013, 19:28
The status attributes for the player are still listed under the "player" tab of the "game" object, including "score" and "health" by default, and you can add more. However, I believe any attributes added in that way will be displayed throughout the game in the status pane. For internal attributes like "strength" it would probably be best to just use variables, perhaps setting them during the start script.

Sora574
14 Mar 2013, 20:55
TriangleGames wrote:The status attributes for the player are still listed under the "player" tab of the "game" object, including "score" and "health" by default, and you can add more. However, I believe any attributes added in that way will be displayed throughout the game in the status pane.

In the web editor, if you don't add a value to the status attributes, it will take the value from the current player.** You can then turn on and off specific statuses without changing the player's attribute by using
<!--To turn off a status called strength-->
if (DictionaryContains(game.povstatusattributes, "strength")) {
dictionary remove (game.povstatusattributes, "strength")
}
<!--To turn it back on-->
dictionary add (game.povstatusattributes, "strength", "")


**If, for whatever reason, you don't want to leave the value blank, you can just type in "Strength: !" without the quotes and it will still show up the same way. (Quest automatically translates ! to the player's attribute.)

Hope that helps.