0 Favourites

Family Picking issue

  • <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

  • Construct 3

    Buy Construct 3

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

    Buy 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)
Similar Topics Posts Views Last Post
Unread hot topic
300 118,423
blackhornet's avatar
blackhornet
Unread hot topic
0 Favourites
Spam issue
201 16,833
Tom's avatar
Tom Construct Team Founder
Unread hot topic
157 12,693
megatronx's avatar
megatronx