Link to .capx file (required!):
dl.dropboxusercontent.com/u/17275929/Temp/Bug%20Test.capx
Steps to reproduce:
1. Create a sprite.
2. Create a family and put the sprite in it, and add a variable (anything).
3. Create sprite in a Function (Func1).
4. Call a second Function (Func2) from Func1 to set the FAMILY variable. In the second function, use the condition to select by UID.
The steps are contrived to produce the bug. There are obvious work arounds, but functions should make things easier, not harder. Besides the bug, I recommend as a feature request to also allow returning the object that was constructed for the calling actions to use, and passing as a parameter as well if possible. There needs to be a better way of "type casting" objects to family types.
Observed result:
Condition fails
Expected result:
Condition selects the family (type-casting the object created in Func1).
Browsers affected:
Chrome: yes
Firefox: yes
Internet Explorer: yes
Operating system & service pack:
Windows 7 x64 SP1
Construct 2 version:
r125