EndoSkull's Forum Posts

  • I just found this thread.

    FYI

    I think I love you.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Not sure if this is my error or a functional error:

    Or if it is even related to this...

    Example:

    SYSTEM - On Start of Layout

    Create TEXTBOX

    Dictionary add Key BOX1 with value TEXBOX.UID

    Create TEXTBOX

    Dictionary add Key BOX2 with value TEXBOX.UID

    Function SetBOX1

    Function SetBOX2

    Function FillBOXES

    FUNCTION FillBOXES

    TEXTBOX Pick Instance with UID Dictionary.Get("BOX1")

    TEXTBOX set text to Array.At(0,0,0)

    TEXTBOX Pick Instance with UID Dictionary.Get("BOX1")

    TEXTBOX set text to Array.At(0,1,0)

    FUNCTION SetBOX1

    Array Set value at(0,0,0) to "John"

    FUNCTION SetBOX2

    Array Set value at(0,0,0) to "Doe"

    ================================================

    The Issue:

    ================================================

    In runs through fine and fires the FillBOXES function but will NOT fire the:

    TEXTBOX Pick Instance with UID Dictionary.Get("BOX1")

    TEXTBOX set text to Array.At(0,0,0)

    TEXTBOX Pick Instance with UID Dictionary.Get("BOX1")

    TEXTBOX set text to Array.At(0,1,0)

    UNLESS I put a "Wait" on action of the Function FillBOXES like this:

    FUNCTION FillBOXES SYSTEM Wait 0.5

    TEXTBOX Pick Instance with UID Dictionary.Get("BOX1")

    TEXTBOX set text to Array.At(0,0,0)

    TEXTBOX Pick Instance with UID Dictionary.Get("BOX1")

    TEXTBOX set text to Array.At(0,1,0)

    ==================================================

    Is it me not understanding the order of events to fire or is there something else?

    Thanks