[Request] Trigger once for multiple instances

  • This has been requested before but I can't find the thread and forgot if Ashley commented. Anyway, it would be nice if we could have another type of "Trigger Once" that plays nicely with multiple instances. I often find myself with situations like this:

    +Enemy is Active (bool)

    +Trigger once

    -Do a thing

    or something like

    +Enemy.TimerVar > 5

    +Trigger Once

    -Do a thing

    But it only works for one instance and no placement of "for each" helps here. You have to make another var and do this:

    +Enemy is Active (bool)

    +Enemy.var = 0

    -Do a thing

    -Set Enemy.var to 1

    Looks like no big deal but when you use it for AI and such it gets really annoying with all the extra vars and conditions.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I'm currently doing ai for my game and run into this issue a lot too. A "Trigger once per instance" would definatly be a great addition.

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