foreverisbetter
Member
Hey hi,
my question is pretty straight forward: how would I go about if I wanted to access a certain instance without knowing its position?
For example, I try to create a level selection screen. One obj_level represents a level and between some of those, there are connections. Just like draw_line (obj_level.x, ... another obj_level.x).
But because I want to be able to edit the overall map and position of levels in the level editor and not do everything by hand I think I need to find the instance and then its position dynamically.
In Unity you can just do a public variable and then drag the instances you need access to into a editor field. There has to be a normal workflow to achieve something technically similar in Game Maker but I really cant think of anything...
Thank you so much for your help!
my question is pretty straight forward: how would I go about if I wanted to access a certain instance without knowing its position?
For example, I try to create a level selection screen. One obj_level represents a level and between some of those, there are connections. Just like draw_line (obj_level.x, ... another obj_level.x).
But because I want to be able to edit the overall map and position of levels in the level editor and not do everything by hand I think I need to find the instance and then its position dynamically.
In Unity you can just do a public variable and then drag the instances you need access to into a editor field. There has to be a normal workflow to achieve something technically similar in Game Maker but I really cant think of anything...
Thank you so much for your help!