Is-cargo-known-delay

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