hello,
the scenario is using external language and no c-script.
call game_load to restore a game.
this works great but all of our pointers to our entities,bmaps,etc
were stored in global variables in our external langauge so they are not restored during the game_load. We need to use ptr_first to retrieve all the pointers.
The shortcomming is that ptr_first requires a valid pointer to the object type that you want to retrieve; however, in this scenario, we don't have a valid object pointer to pass to ptr_first so a work around is a requirement to create a temporary object using str_create, etc to pass to ptr_first.
so the thought is perhaps we need the functionality of ent_next where you can pass a nil value to receive the first entity in the list. which means....
action_next, string_next, bmap_next, view_next, panel_next, text_next, font_next, sound_next, material_next.
LazyDog