I'm building a numberpad passcode puzzle, and wondered if there's a way within the actions to append a string global variable (so as you press a number button it adds that number to the current code, rather than replacing the whole string?
I'm using an AC menu to display the global string, but can;t seem to add to the global string only replace it completely?
Alternatively, having a hotspot for each number button call a custom C# script to collect the value, add it to the string and then passs this back to the AC menu element?
Any advice would be great.
It looks like you're new here. If you want to get involved, click one of these buttons!
Comments
In the Variable: Set Action, you can use the variable's token to combine it's value with new text. For example, if the variable's ID is 2, and current value is X, then:
Becomes:
XY