Solu9
You can change this now in User CP.
- Reaction score
- 216
Bad title. I'll explain.
The player can interact with certain objects in each map in the campaign.
Since the player can jump back to maps already played I need to detect if these object have already been activated.
My initial thought was setting a boolean array in the map initialization in each map.
Each of these object is bound to a specific number in the array.
When an object is activated I check the array and set the corresponding number to "true"
This information I'll save in the game cache to carry from map to map.
The con with this method is that I have to set the array manually to each object, and there are like 1500 all in all...
So my question is. Is there an easier/better way to do this?
The player can interact with certain objects in each map in the campaign.
Since the player can jump back to maps already played I need to detect if these object have already been activated.
My initial thought was setting a boolean array in the map initialization in each map.
Each of these object is bound to a specific number in the array.
When an object is activated I check the array and set the corresponding number to "true"
This information I'll save in the game cache to carry from map to map.
The con with this method is that I have to set the array manually to each object, and there are like 1500 all in all...
So my question is. Is there an easier/better way to do this?