Object persist through layout?

Get help using Construct 2

Post » Mon Feb 16, 2015 3:04 am

so I have multiple layouts used for a single level. Some of the objects have a chance to change their appearance (and what they do) between 8 different things. The problem is, if you leave a layout, and return to it, the game will then tell it what to be randomly again, and change it to something else.

Is there a way to have a randomly generated object, then STAY that object and persist, despite possibly leaving the layout and coming back?
B
4
Posts: 78
Reputation: 606

Post » Mon Feb 16, 2015 3:16 am

You almost answered your own question :D

There is a behaviour called "persist" which is probably what you need, otherwise you can make objects global, and re-position them when you re-enter a layout
B
44
S
11
G
2
Posts: 1,182
Reputation: 6,848

Post » Mon Feb 16, 2015 3:18 am

Well, they already have the persist behavior, and that still doesn't seem to help at all. Though, they aren't currently Global, so I will give that a try, didn't even think of that! Thanks!
B
4
Posts: 78
Reputation: 606


Return to How do I....?

Who is online

Users browsing this forum: R0J0hound and 9 guests