Forum rules - please read before posting.

"Variable: Set" Action doesn't work with "Combined With Other String" and parameter

Hi there,

I have an in-scene Action List with a string parameter. I use a Variable: Set Action and choose a string as the variable and set New value is: to Combined With Other String. Now I am able to use the parameter as -> Statement +=, but it doesn't add the string in the parameter to the variable. It works well if I use an entered string as -> Statement +=.

Comments

  • Thanks for the report.

    Open up ActionVarSet.cs, and replace the following (around line 407):

    _value = var.TextValue + AdvGame.ConvertTokens (stringValue, Options.GetLanguage (), localVariables);
    

    with:

    _value = var.TextValue + AdvGame.ConvertTokens (runtimeStringValue, Options.GetLanguage (), localVariables);
    

    Does that fix it?

  • Yes, thank you. That fixes the problem.

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.