Radar-set-max-range

From FreeSpace Wiki
Revision as of 17:28, 15 March 2009 by Mobius (talk | contribs) (Added a comment about the usage of this SEXP in asteroid fields.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Radar-set-max-range (Action operator)
    Sets the maximum radar range to the value of the argument.
    Entering -1 will reset maximum radar range to infinity.
    Takes 1 numeric argument: The maximum radar range.

Comments

Sets the maximum radar range for all ships in a mission, overriding any command line arguments affecting it. All radar ranges greater than the specified range are affected.

Very well specified to be used in environments like asteroid fields, in which the performance of radars would be negatively affected.