r330 custom actions - unexpected behavior ?

0 favourites
  • 3 posts
From the Asset Store
Alot of High Quality Items sound effects for your game!
  • Hi there, I'm currently testing the custom actions feature and it's a blast!

    I've run into a problem and I'm not sure this behavior is intended.

    Current behavior

    When calling a custom action with overrides, the action will run only once for each object type that defined an override

    Wanted behavior

    Custom action should run for each instance of said object type, with it's own instance picked

    Here's an example of the behavior in action

    In this example, even though I have 2 instances of UpgradeBeeHive in layout - the custom action will only be executed one time, picking the first instance created.

    What I wanted to achieve is : each instance of TimedEffects will manage it's own timer and call it's own Activate action. UpgradeBeeHive being a TimedEffects with an override, every UpgradeBeeHive should be able to call it's own behavior Activate.

    Am I using this new feature incorrectly ?

    Thanks for reading and thanks for the amazing work on new features to come!

    Tagged:

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • I would try adding a "for each timedeffects" condition to the "on created" and "less than/equal to zero" events.

    It might be due to multiple objects triggering at the same time.

  • I have a somewhat similar problem that I reported here. I think they are probably related.

    github.com/Scirra/Construct-3-bugs/issues/6560

    For each family > Family action does not work.

    For each sprite > Sprite action does work.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)