I have a question about treasure chests.
Assuming I use global values assigned to the properties of the chest, the way I have my chests set up are as follows:
I place a "hit box" within the frame that just looks like a square shadow at runtime. This hitbox has a behavioral event that spawns a treasure chest on it at a certain layer (since my levels are layered). I can then duplicate this hit box as much as I want and have that number of chests.
However, I have run into a problem here: The chests are either all opened, or sometimes, the most recent chest created in the frame remains open and all others remain closed....or the most recent remains closed while all others remain open.
If I assign global values to the box, for the number of chests within the frame (in this example, 5)...and set all global values to 0 - for closed and 1 for open, how do I tell the chest to change a specific value for the chest, keeping it forever opened?
for instance...I have a chest at x 200 y 200, and others at different locations throughout the frame, and I am near the x 200 y 200 and 'open it', how do I keep the remaining chests closed between frames until I go and open them, and keep x 200 y 200 open and so on, without creating a 'mess' in the event editor? Also, will this solve the "all but one box is affected" bug I have been getting?
Sorry if this question seems drawn out.

