Forum rules - please read before posting.

Get pop up type global variable value by script?

Hi Chris,

There is a tutorial to teach how to get AC variable from script.
But it seems only included int/float/bool. How about pop up type?
Is it possible to get value from a AC global pop up variable? Thanks.

Comments

  • Internally, a PopUp's value is an Integer that represents the index. You can convert this into text with the GetPopUpForIndex function:

    myVariable.GetPopUpForIndex (myVariable.IntegerValue);
    
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.