Add-background-bitmap

From FreeSpace Wiki
Revision as of 17:41, 11 September 2010 by TopAce (talk | contribs) (with notes)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
add-background-bitmap
    add-background-bitmap
    Adds a background bitmap to the sky. Returns an integer that is stored in a variable so it can be deleted
    using remove-background-bitmap

    Takes 9 arguments...
    1: Background bitmap name
    2: Pitch
    3: Bank
    4: Heading
    5: X scale (expressed as a percentage of the original size of the bitmap)
    6: Y scale (expressed as a percentage of the original size of the bitmap)
    7: X divisions.
    8: Y divisions.
    9: Variable in which to store result

Notes

  • You must have at least one variable in the mission to choose this SEXP.
  • The variable that stores the background information must be a number, not a string. Otherwise FRED will return and error message when it saves the mission.