Forum rules - please read before posting.

Variables component issue


Recently i faced with incorrect behaviour of string variables component. There is new scene, OnStart actionList and variables component with 4 diferent variable types and i try to pass it as parameters. Int, float and bool looks like normal but string set value "True". Is it kinda bug or i doing it wrong?

Comments

  • It is indeed a bug - my apologies for the trouble.

    To fix it, open AC's ActionParamSet script and replace line 402:

    _parameter.stringValue = GlobalVariables.GetStringValue (globalVariableID, true, Options.GetLanguage ());
    

    with:

    _parameter.stringValue = gVar.TextValue;
    

    I shall include an official fix as part of the next update - thanks for the bug report.

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.