I had this same question a while ago. Check my threads that I've made; it should be somewhere toward the middle. There is pretty much always another way to get things done when you're coding, though. Let me know what you need this array for.
EDIT: It's titled something about linking an entity to a bool.
__________________
[ Paid Requests ] DO NOT PM ME ABOUT BLOCKMAKER
NO PRIVATE SUPPORT