When you open Daggerfall Unity source (or a multi-root workspace that includes DU files), commands 'go to definiton' and 'peek definition' on a TEMPLATE action point to the C# source file:
templateToCsharp.png (83.49 KiB) Viewed 2838 times
the other way around also works: a console command finds all references of C# action inside quests that are available in workspace
CsharpToTemplate.png (105.27 KiB) Viewed 2838 times
I think it's great how it all fits together when you open the repository with VS Code.
Mod System documentation - Learn how to create mods for Daggerfall Unity. Modder Discussion - General help and discussion for the mod system. Github Issues - Submit a bug report for the game, including the mod system.
Hazelnut wrote: ↑Thu Oct 24, 2019 11:51 am
Is that feature (linking to c# scripts) in the released version yet? I got 0.12.0 and if it's in there, it doesn't work for me.
No
TheLacus wrote: ↑Tue Oct 22, 2019 6:24 pm
Here something i'm experimenting with.
Mod System documentation - Learn how to create mods for Daggerfall Unity. Modder Discussion - General help and discussion for the mod system. Github Issues - Submit a bug report for the game, including the mod system.
Mod System documentation - Learn how to create mods for Daggerfall Unity. Modder Discussion - General help and discussion for the mod system. Github Issues - Submit a bug report for the game, including the mod system.
Thank you for telling me Jay. I'll fix it and update the list of actions and conditions.
New version of VSCode also introduced support for semantic highlighting, which should allow for a better match of TEMPLATE symbols, global variables and everything that doesn't have consistent syntax.
Mod System documentation - Learn how to create mods for Daggerfall Unity. Modder Discussion - General help and discussion for the mod system. Github Issues - Submit a bug report for the game, including the mod system.
This is a quick update to support msg parameter and other actions that have been added recently. I have a few improvements planned but they will be added with 0.15.
Mod System documentation - Learn how to create mods for Daggerfall Unity. Modder Discussion - General help and discussion for the mod system. Github Issues - Submit a bug report for the game, including the mod system.