Is-ship-visible

From FreeSpace Wiki
Jump to: navigation, search
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.