Nucleus handler tools › Docs › Context › RunAdditionalFiles

Context.RunAdditionalFiles

Open in the workbench (search, and try it in a handler)

Context.RunAdditionalFiles(
  filePaths: string[],
  changeWorkingDir: boolean,
  secondsToPauseInbetween: number
): void
Context.RunAdditionalFiles(
  filePaths: string[],
  changeWorkingDir: boolean,
  secondsToPauseInbetween: number,
  runAsAdmin: boolean,
  promptBetween: boolean
): void
Context.RunAdditionalFiles(
  filePaths: string[],
  changeWorkingDir: boolean,
  customText: string | number | boolean,
  secondsToPauseInbetween: number,
  showFilePath: boolean,
  runAsAdmin: boolean,
  promptBetween: boolean,
  confirm: boolean
): void

Specify additional files to run before launching game. By default will run each additional file once but can specify to run during specific player's instances by prefixing the filepath with #|. Replace # with player number. Can also specify to run files for each player by prefixing filepath with "all|". "bool confirm" will only run the file after clicking "Ok" in the prompt.

✎ Parameters: AI-written from the Nucleus source.

Category: Files

Handler API docs

Is this right? Tell us what's wrong
Stuck, or not sure? Ask other handler authors: Discordr/nucleuscoop