Fresh out of the package in the Construct community, I have one very basic question:
Here is an example, in a point & clic style game:
I have 2 layouts. When the player clics on a specific object in the first layouts, the second layout is loaded. The second layout's name is store in the clicked object instance variables. This instance variable is called "target".
I'm using an event with the "Mouse" object to detect when the player clic on the specific object "obj_test"
So, in the event sheet, I have a simple condition:
Mouse | On Left button Clicked on obj_test
Then, the action looks like: Go to layout XXXXXX.target
The problem is... what can I use instead of XXX to call the clicked object?
I need something similar to self.variable but for the other object, the object I'm clicking. In game maker, I'd use other.variable (in a collision test, for example)
Thanks a lot!