How do I assign an action to a copied object ?

0 favourites
  • 5 posts
From the Asset Store
Alot of High Quality Items sound effects for your game!
  • Hi there,

    Is it possible to control a cloned object ( Ctrl + C / Ctrl + V ) with the event sheet ?

    Both the original and the clone share the same name but not the same UID, unfortunatly , Construct 2 doesn't have the option to choose an object by its UID. So is there a workaround for this ?

    Explanation : If you make a copy of an object, lets say ObjectA, and assign an action to it, ObjectB receives it as well.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • That's not a Clone , that is another Instance of the same object. If you right-click the object, you can pick Clone. It will still have the same behaviours, but is independent of the first. You could remove any behaviours you don't want.

    You can pick by UID, the event is on the Sprite itself.

  • Yes I mean't another instance of the same object, I'm dealing with a multitude of objects attached with joints, a vehicle that I need to make copies of, and control each vehicle separately.

    It would be a lot easier if I could pick them using their UID.

    Another question: Is it allowed to modify a 3rd party behaviour file ?

  • You can: Sprite.Pick by unique ID

    Edit: you can use a Container to link objects together (pick together).

  • Oh now I understand, THANKS SO MUCH MAN I APPRECIATE THE HELP !!!

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