Is-ship-visible: Difference between revisions
New page. Can't believe this was missing from the wiki despite being a retail operator |
m categorization |
||
| Line 8: | Line 8: | ||
Note that despite the name, this SEXP is numerical, not boolean. As such you need to use numerical comparison to check the result. | Note that despite the name, this SEXP is numerical, not boolean. As such you need to use numerical comparison to check the result. | ||
[[Category:Retail SEXPs]] | |||
Latest revision as of 15:21, 19 February 2011
is-ship-visible
is-ship-visible
Check whether ship is visible on Player's radar
Single Player Only! Returns 0 - not visible, 1 - partially visible, 2 - fully visible.
1: Name of ship to check
Comments
Note that despite the name, this SEXP is numerical, not boolean. As such you need to use numerical comparison to check the result.