Is-ship-visible

From FreeSpace Wiki
Revision as of 15:21, 19 February 2011 by TopAce (talk | contribs) (categorization)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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.