Author Topic: Get player's primary firepoints positions?  (Read 267 times)

0 Members and 1 Guest are viewing this topic.

Offline Kiloku

  • 27
  • I try to make games, but nothing releasable yet.
    • Minecraft
Get player's primary firepoints positions?
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?
Potato!

 
Re: Get player's primary firepoints positions?
This is relevant to my interests.

 

Offline Colonol Dekker

  • HLP is my mistress
  • 213
  • Aken Tigh Dekker
    • My old squad sub-domain
Re: Get player's primary firepoints positions?
You could get them from the pof editor then offset from the players zero?

 

Offline Kiloku

  • 27
  • I try to make games, but nothing releasable yet.
    • Minecraft
Re: Get player's primary firepoints positions?
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
Potato!

 
Re: Get player's primary firepoints positions?
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).

  

Offline Colonol Dekker

  • HLP is my mistress
  • 213
  • Aken Tigh Dekker
    • My old squad sub-domain
Re: Get player's primary firepoints positions?
I'm confident this excellent community can solve it 👍👍👍