data_struct

  1. Dr_Nomz

    GML How do I save and load specific IDs if I IDs are read only?

    I have a Zombie enemy that creates an attack object that collides with the player, and the zombie handles the object by sharing it's ID. The problem is I need to be able to save that specific zombie AND it's specific attack object, then load it all in. But ID is read only, so what do I do...
  2. D

    GameMaker Way to store ds_grids within other data structures?

    I'm currently working on a game which uses different maps (not ds_maps, just maps!). Therefore I saved all the tiles of a map in a ds_grid. So I end up with many different ds_grids, that I want to save & load. Is there any way to do this with data structures? I already tried to put them in other...
  3. S

    Legacy GM ds_exist requires already set variable?

    umm can someone tell me how to properly use ds_exists to check if there is a ds_struct already set? the problem comes when you set the variable that your checking with ds_exist to a value. this overwrites the var that holds the data_struct, making ds_exists pointless it like you would need to...
Top