Lua question
Alright, to begin with i just want to say that I *suck* with code. I've tried in the past, just can't wrap my head around it. However it seems once more what i want to do and how to do it have brought me face to face with coding yet again.
So, I've got a missile rack of 14 gps cruise missiles crammed in a shipping container. I've got them firing as a volley and all hitting the same point. That was step one to this project.
now i've hit a wall. My next step is to figure out how to take that one point and use it as the center point of a grid for where the missiles land. basically, take the center point, drop a missile there, then either draw a spiral of points around that point with the rest of the missiles, or drop them in a evenly spaced grid. Ideally, i can just punch in either a spacing distance or a radius as a single number input and that will determine how big the landing zone is.
i've managed to figure out how to get data in and out of a script, and how to use some code snippets to work on that data, but actually coding what i need here is making my head hurt because i don't know the terminology or formula's required to do this. It's probably easier than i'm thinking, but i've been picking at this for a few days and i'm getting a bit frustrated at it.