my problem is that i want to, have all my code in my step event, but i cant figure out how i should bring the variabels from the create action into the step event (via script).
i thought that there had to be an easy way to set som variabels only ones in GML:)
I have a problem were i have a player object, and for now only one enemy object.
From the enemy object i would like to draw a line from a certian distance to the player and then it should now towards the player.
That is working , but if i have to objects it only draws one line, and both enemies move towards me if one of them is to close.