r233 turret duplicate bugged

Report Construct 2 bugs here.

Post » Tue Aug 23, 2016 3:58 am

Problem Description
2nd behavior uses firsts trigger

Attach a Capx
https://dl.dropboxusercontent.com/u/666 ... upbug.capx

Description of Capx
shoot event is for the second behavior

Steps to Reproduce Bug
  • note range of behavior 1
  • note range of behavior 2

Observed Result
behavior 2 shoots even though it is not in range

Expected Result
Should be picked by its trigger

Affected Browsers
    mmmhmmm

Operating System and Service Pack
10 anniversary, I want a divorce

Construct 2 Version ID
233
Image ImageImage
B
171
S
50
G
180
Posts: 8,394
Reputation: 113,982

Post » Wed Aug 31, 2016 1:55 pm

I can reproduce, but it's a problem with the runtime architecture: triggers fire on object instances, not behaviors, so either behavior can trigger a general "On shoot" condition, which doesn't distinguish between each behavior's triggers.

I think this was reported in another bug a while ago.

I'll leave this report open but given that architectural changes are needed I don't think this is something we'll fix before C3.
Scirra Founder
B
399
S
236
G
89
Posts: 24,543
Reputation: 195,430

Post » Fri Sep 02, 2016 12:41 pm

Funny thing is that this doesn't happen with Line of Sight.
Image ImageImage
B
171
S
50
G
180
Posts: 8,394
Reputation: 113,982


Return to Bugs

Who is online

Users browsing this forum: No registered users and 0 guests