Difference between revisions of "Is-ship-visible"

From FreeSpace Wiki
Jump to: navigation, search
(New page. Can't believe this was missing from the wiki despite being a retail operator)
(No difference)

Revision as of 13:52, 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.