How do I change the context of the event sheet for a type

0 favourites
  • 2 posts
From the Asset Store
Simplistic hyper-casual game with nature elements. Tap to switch between the 4 elements and reach a better score.
  • Hey all,

    I'm wondering if anyone has an idea on how to do the following:

    A bit more detailed way of asking the question...

    "How do I change the context of the event sheet to refer to a particular instance of an object type for actions that take place subsequently from a previous action?"

    For example, there's an action that Spawns an object via the System actions. Once this action is called an object is created, subsequent actions related to that newly spawn's object's type will only relate to the context of the recently spawned object.

    How do I do the same in a plugin action I am writing?

    Thanks in advance!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • You can use an instance variable with context ids. Then you can just do a "Pick by instance variable" on that given object and select all of the objects associated with a given context id.

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