Forum rules - please read before posting.

pie chart with AC variables

Hello! I want to make a pie chart that changes depending on the values I give. The image shows the fields that take the values. Do you know if there is a way to give these values from AC variables?
https://drive.google.com/file/d/1MtLgOAOQZQsLRqvdqkETFmm1XKldvdGE/view

Comments

  • You'd need to modify the script - or set its values with another script - but yes, AC variables can be read with custom code.

    For example, the value of an AC Global Float variable named "Blue" can be accessed with:

    AC.GlobalVariables.GetVariable ("Blue").FloatValue
    

    For more details and examples, see the Manual's "Variable scripting" chapter.

  • Thanks for your help!

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.