Forum rules - please read before posting.

Scene Name - Using Scene Attributes. Possible to access in action list?

Hi

I would like to display the name of the current scene in a textbox. While there are many ways to do this, I felt a scene attributes would work well.

Plan

  • Add string scene attribute named "Scene Name"
  • Event for Scene start to run action list
  • In action list Set the Menu Element for the scene name display to be the value of the "Scene Name" attribute

However: I cant find any way to extract the value of an attribute in action list. Checking is easly.

Notes:
I can easily do this through script, but it would be nice to avoid a custom script to do this.
I could also add a custom action to copy a scene attribute into a variable (or action list parameter).

Am I using attributes wrong? I know you dont intend for them to change at runtime. Im not looking to do that.

Comments

  • You can use the [scene:X] token, replacing X with the attribute's ID, inside text fields to replace it with the attribute's value for the open scene.

  • Thank you. Surely this is documented and I missed it (and makes sense to use a token for this).

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Welcome to the official forum for Adventure Creator.