Hard Light Productions Forums
Modding, Mission Design, and Coding => The Scripting Workshop => Topic started by: Kiloku on June 28, 2020, 09:09:12 pm
-
I'd like to figure out where in worldspace the firepoints are. I poked around scripting.html but found nothing clear.
Even if I can at least get the relative position to the ship's center, I could calculate the world space position.
Is it even possible?
-
This is relevant to my interests.
-
You could get them from the pof editor then offset from the players zero?
-
You could get them from the pof editor then offset from the players zero?
In that case I'd need to get it manually for each fighter, right? If there's no other choice, I'll do it like that, but if there's any way to get it via script, it'd be much better as I could apply it to any playable fighter from any mod
-
SEXP-wise you could do that by using relative XYZ coordinates, an option of get-object-x (and so forth), however the SEXP only returns entire numbers (like 5, but not 5.25).
-
I'm confident this excellent community can solve it 👍👍👍