Hi,
I want to get back to my hobby of programming little games.
Whenever I think about it, I imagine it to be very fun (since I had fun back then).
I stopped because of the time consuming courses at university, but even though I have time on my hands now,
I can't get myself to do the step and...
So i'm trying to make an enemy return back to a set path after being distracted by the player.
How I have it currently works in some places but not in others (which I don't get)
For example if the enemy is distracted to the right side of the path they return fine but if they go off to the left...
I vaguely recall some functions returning an array, but it doesn't seem to work for me.
Say you have a script that fills a local array with values, is it possible to return the array and end up with something like this?
///script_array()
var array
array[0] = 10
array[1] = 11
array[2] = 12...
I have just found out that my _parts temp variable is returned as a map instead of a list of maps.
I'm not sure why but it looks like "[]" aren't being treated as a list in my json
here is my project you can see it when it crashes in the debugger.
you can't mark it as a list and open it...