Family Picking issue

0 favourites
  • 2 posts
From the Asset Store
A collection of various zombie characters sprites for creating a 2D platformer or sidescroller game
  • <img src="https://dl.dropbox.com/u/12667027/Construct%202/FamilyBug.png" border="0" />

    I've just created a new object called RainCloud. RainCloud sprite belongs to the CloudFamily list, but this second command which changes the opacity doesn't seem to be working for the object. Shouldn't a Family SOL list refer to the last created object which belongs to that Family? If I change the command from CloudFamily -> SetOpacity to RainCloud -> SetOpacity it works.

    This seems to be unrelated to the other SOL issue concerning sibling events not being able to pick sprites created in prior events on the same chain.

    I have tons of commands in branches which need to be able to refer to the last created instance object of a family. I don't want to have to create duplicate code that acts on each sprite type belonging to a family.

    Thanks for any advice,

    Shaun

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Families pick their instances separately, by design. Picking any object within the family does not touch the family's picked instances, so it is still in 'all picked' mode. You probably want to use a 'CloudFamily: On created' trigger instead.

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