Sprite properties not available if picked Random instance

Bugs will be moved here once resolved.

Post » Wed Feb 18, 2015 8:55 am

Problem Description
Sprite properties not available when you pick Random instance using "pick random or pick by comparison etc.."

Attach a Capx
CAPX attached

Description of Capx
Example of problem statement

Steps to Reproduce Bug
    Create X instances of object
    use for loop to pick random instance or pick random instance or use pick by comparision/evalutate
    Set object instance propertise like UID/IID etc.., instance variable in text box

Observed Result
As a result only 0 will appear.

Expected Result
It should show property value and instance property to be available for use.

Affected Browsers
All

Operating System and Service Pack
Windows 7, latest updated

Construct 2 Version ID
[r197]
You do not have the required permissions to view the files attached to this post.
Image
B
44
S
11
G
1
Posts: 252
Reputation: 4,172

Post » Thu Feb 19, 2015 10:01 am

I think your problem is this
B
24
S
9
G
4
Posts: 1,646
Reputation: 6,596

Post » Mon Feb 23, 2015 1:05 pm

@codah is right. This is a known limitation, you can't pick newly created instances from other events until the event that created them finishes.
Scirra Founder
B
378
S
220
G
84
Posts: 23,871
Reputation: 188,227


Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 2 guests