I have a function that uses the set return value action. Strangely, everything in the code seems to work as intended, except for the return value function. The debug text object always displays "???" and when I remove that line, it displays "" (i.e. an empty string) regardless of the outcome.
The image below contains comments, which should make it clearer.
I may be missing something, but if the set opacity events are triggering, surely the set return value ones should be as well?