Skip to content

Duel.LoadScript

Source Code | Duel Functions

Loads into the current environment (duel/puzzle) (file_name)'s script, and return true or false depending on the script loading success. If "forced" is false, the file name is loaded only if it hasn't been loaded before. If "forced" is true, other than loading the script regardless if it has been loaded previously, the 2nd returned value will be whatever was set as the global variable "edopro_export" from the loaded script.

Signature

Duel.LoadScript(string file_name, [bool forced = false]) → bool, object, |, nil

lua
Duel.LoadScript(file_name,forced)

Parameters

  • string file_name

    (To be added)

  • bool forced

    Optional. Defaults to false.

    (To be added)

Returns


under-construction