Data storage in tiles
Posted: 26 Aug 2010, 00:32
My protect uses tiles to represent objects or equipment. These objects have sets of actions that can be applied to them which are dependent upon the current state of the item (ie: off, on setting 1, on setting 2, etc). These states also affect the points earned in different categories over time.
I've noticed in the openspace editor that custom parameters can be applied to each of the tiles, but I do not see a way to access these custom parameters at runtime (either getting or setting them) besides listening for a triggered event.
For my project, I need to be able to access and update these parameters for the tiles based on certain events that may triggered by time or other non interactive methods. Is there a way to access and set these parameters at runtime? Can the .map files store these parameters as well so I would be able to keep track of the current state of each tile (object)?
I've noticed in the openspace editor that custom parameters can be applied to each of the tiles, but I do not see a way to access these custom parameters at runtime (either getting or setting them) besides listening for a triggered event.
For my project, I need to be able to access and update these parameters for the tiles based on certain events that may triggered by time or other non interactive methods. Is there a way to access and set these parameters at runtime? Can the .map files store these parameters as well so I would be able to keep track of the current state of each tile (object)?