Difference between revisions of "Is-cargo-known-delay"

From FreeSpace Wiki
Jump to: navigation, search
(Created page with ' is-cargo-known-delay Is cargo known (delay) (Boolean operator) Returns true if all of the specified objects' cargo is known by the player (i.e. they have scanned each …')
 
(No difference)

Latest revision as of 20:42, 15 April 2010

is-cargo-known-delay
    Is cargo known (delay) (Boolean operator)
    Returns true if all of the specified objects' cargo is known by the player (i.e. they have scanned each one.

    Returns a boolean value after seconds when all cargo is known. Takes 2 or more arguments...
    1: Delay in seconds after which sexpression will return true when all cargo scanned. Rest: Names of ships/cargo
    to check for cargo known..

Notes

  • Can be used both for inspection (transports, freighters, containers) and scanning tasks. Check the Scannable flag in the Ship Editor to trigger the latter.
  • If used on a ship that has the "Cargo known" flag checked in the Ship Editor, it returns true on mission start.