버전

menu_open
Wwise SDK 2023.1.3
execute-lua-script

Execute a Lua script. Optionally, specify additional Lua search paths, additional modules, and additional Lua scripts to load prior to the main script. The script can return a value. All arguments will be passed to the Lua script in the "wa_args" global variable.

Arguments

FILE

Specify the file path of the main Lua script to load and execute.

인자 스키마

Options

--allow-migration

작업을 실행하기 전에 Wwise 프로젝트를 마이그레이션하고 저장합니다.

--do-file LUAFILE1
--do-file LUAFILE1 LUAFILE2 ...
--do-file LUAFILE1 --do-file LUAFILE2 ...

Specify an array of Lua files to load before the main Lua script is loaded and executed. This option must be followed by a absolute file name.

--lua-path PATH1
--lua-path PATH1 PATH2 ...
--lua-path PATH1 --lua-path PATH2 ...

Specify a search path for Lua modules loaded. This option must be followed by a Lua path. Ex: '–lua-path C:\module\?.lua'

--project PROJECT

When no project is specified, no project is loaded. Refer to ak.wwise.console.project.open for information on how to open a project.
The path to the project file (.wproj).

--require MODULE1
--require MODULE1 MODULE2 ...
--require MODULE1 --require MODULE2 ...

Specify an array of Lua module to load at runtime using the require system. This option must be followed by a Lua module name. The module name must be found in the Lua path. Ex: '–require debug.lua'

옵션 스키마

Result

Result returned by the Lua script

결과 스키마

Wwise Console에 대한 더 자세한 정보는 명령줄 사용하기 를 참고하세요.


이 페이지가 도움이 되었나요?

지원이 필요하신가요?

질문이 있으신가요? 문제를 겪고 계신가요? 더 많은 정보가 필요하신가요? 저희에게 문의해주시면 도와드리겠습니다!

지원 페이지를 방문해 주세요

작업하는 프로젝트에 대해 알려주세요. 언제든지 도와드릴 준비가 되어 있습니다.

프로젝트를 등록하세요. 아무런 조건이나 의무 사항 없이 빠른 시작을 도와드리겠습니다.

Wwise를 시작해 보세요