Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: clarification

...

(tick) indicates cases where you can pass the variable directly
1) Universe IDs must be passed as Lua IDs to MD/AI scripts, so the script system treats them correctly as components. Not doing so will cause problems, for instance when loading a savegame that contains such values. Examples where this applies at the time of writing this
A few examples where Lua values are passed to the MD/AI script system:

  • Helper.closeMenuAndReturn()
  • Lua function: SignalObject()
  • Lua function: SetNPCBlackboard()

...