FreeSpace Releases > Scripting Releases
Movements-SEXPs, capship useful (v2.6)
Darius:
The entire package has been a godsend :yes:
mjn.mixael:
Hmmmm
`set-pos-to-rand-pos-on-hull`
Can that work on waypoints?
wookieejedi:
Yes, that's the main reason I made it actually :)
(Behind the scenes reason is that I added repair droids to FotG, and wanted a way for them to pick a random position on a ships hull to fly to, so I set the waypoint position with this sexp, then order them to go to the waypoint).
wookieejedi:
Very glad to have it be so useful for folks!
Another quick small update, per request of MjN for an additional sexp.
v2.4:
Added new `set-pos-to-rand-pos-in-b-box` lua sexp.
Chooses a random position within the bounding box of a given ship and sets the position of the given object to that point. Note, the randomly selected position by be inside the ship geometry.
wookieejedi:
Updated script to version 2.5 which includes some internal cleanup along with extra error checking to prevent edge case script warnings in-game.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version