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

Get help using Construct 2

Post » Sat Jan 07, 2017 12:41 pm

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!
Posts: 13
Reputation: 622

Post » Mon Jan 09, 2017 4:33 pm

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.
I don't check the forums much anymore, but I will receive an email for PMs.

"Someone once told me I bite off more than I can chew...

I told them I would rather choke on greatness than nibble on mediocrity."
Posts: 1,419
Reputation: 4,867

Return to How do I....?

Who is online

Users browsing this forum: ChenBr and 4 guests