Files
fs2open.github.com/code/scripting/api/libs
wookieejedi 1df396bbf4 Allow test_line_of_sight to return intersecting object signature (#4596)
* Allow `test_line_of_sight` to return intersecting object signature

The `test_line_of_sight` can currently provide the closest intersecting distance, but it would be very useful, especially for AI scripting, if this function could also return the signature of the intersecting object. This PR adds that functionality.

Tested and works as expected. Happy to discuss strategies for changing implementation, too. The extra, third return value for object signature was added to `getLineOfSightFirstIntersect` function because that function already returns 2 values. Thus, it will remain compatible with older scripts which only save the first 2 returned values.

* fix documentation

* fix typo

* return object instead of sig

* fix pointer

* use pointer pointer for full fix

* name clarification
2022-08-26 23:05:07 -04:00
..
2022-06-28 12:02:13 -04:00
2021-09-04 15:46:03 -04:00
2021-06-17 14:17:16 -04:00
2018-09-16 13:55:29 +02:00
2022-07-08 18:59:10 -04:00
2022-07-08 18:59:10 -04:00
2022-05-19 21:03:45 -04:00
2019-03-02 14:02:21 +01:00
2022-03-01 19:07:39 -05:00
2022-07-13 12:30:01 -04:00
2018-09-16 13:55:29 +02:00
2020-06-06 23:45:36 +02:00
2017-11-30 13:26:20 +01:00