How do I keep global but destroy on layout?

Get help using Construct 2

Post » Sat Mar 04, 2017 12:30 pm

Greetings there!
So i made a layout inventory system, and ofcourse when items drop on the ground, i want to keep them there for when u open and close the inventory, so i gave the item the 'Persist' behaviour. Now, the items have a function 'on create' so the persist does not work properly with this function 'random frame on created', everytime i access the inventory and go back, this function plays again. So i gave the item also ''global'' to keep it from happening, but now whatever layout i go to, the items follows!
Cant get rid of them lol! ^_^

So how do i get rid of items, with both persist and global behaviour?
Posts: 164
Reputation: 1,530

Return to How do I....?

Who is online

Users browsing this forum: fbarraza28, grigrizljac, rustomatic and 5 guests