Script-eval

From FreeSpace Wiki
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.