I have a 'Wait for Signal' action inside a function. When I trigger the signal and return to the function I want to go to another layout which is defined by a parameter that was passed to that function. However, when I return after the signal the parameter seemingly is null. Before the 'Wait for Signal' the parameter is correct.
I've tried storing the parameter in a local var too, but it gets set back to its default value when the signal is triggered.
I tested this by placing a string variable before the 'Wait for...' and then after it.
Is this to be expected? Do I really need to store the parameter to a global variable?
Screenshot of the even:
http://i1070.photobucket.com/albums/u490/EricThomasGames/Capture_zpsbnefgh2o.png[/img][/img]