Total War: WARHAMMER II

Total War: WARHAMMER II

Execute External Lua File (Modding Tool)
Showing 1-9 of 9 entries
Update: Aug 12, 2021 @ 12:31pm

Update: Jun 23, 2021 @ 10:42am

Update: Aug 16, 2020 @ 10:51am

Update: Aug 15, 2020 @ 4:07am

Update: Feb 5, 2020 @ 1:59pm

Update: Feb 4, 2020 @ 7:56am

added support exec_battle.lua that works in battles and gets executed with F9

credits to ShadowCX for getting it to work

Update: Dec 10, 2019 @ 2:34pm

Fixed globals from _lib/* like random_army_manager and invasion_manager missing in exec scripts.

Update: Dec 6, 2019 @ 9:14am

Added an additional file you can run: exec2.lua with F10.

Also:
If the mod doesn't find exec.lua inside the Total War WARHAMMER II folder it will also check Total War WARHAMMER II/exec/exec.lua.
So basically you can put exec.lua and exec2.lua inside an intermediate exec folder so things are better structured.
But you don't have to.

If you're using vscode I suggest you add the exec folder to a modding workspace.

Update: Nov 19, 2019 @ 3:29pm