Script-eval

From FreeSpace Wiki
Revision as of 22:58, 15 June 2021 by Phantom Hoover (talk | contribs) (Just remove the 3.6.9 note altogether and note what the replacement is after deprecation. I prey that this edit is more resultative than the last.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
script-eval
    script-eval
    Evaluates scriptTakes at least 1 argument...
    1: Script to evaluate

Comments

  • This is used to access a Lua script in-mission.
  • Deprecated in the June 5, 2021 nightly build in favour of script-eval-block, whioh has more intuitive behaviour.
    • Specifically, script-eval will try to evaluate each argument passed to it separately, whereas script-eval-block will concatenate all its arguments before evaluating them as a single expression.