Hello All,
I am currently making my way through Kael's guide and I've got to making the unit icon invisible using Lua. However, I cant find the way to activate the script. For xml its easy, I go to properties, actions and add OnModActivated.
From my reading for other tutorials the UI lua code should be activated by going to properties, content and adding InGameUIAddin. Unfortunately the only files I can choose are the xml ones, my lua files do not appear. The code i'm editing ends in .lua "UnitFlagManager.lua". And it was added straight from the <Civilization V>\assets\UI\InGame> directory.
Is the process for activating Lua script now different or am I missing something?
Cheers
I am currently making my way through Kael's guide and I've got to making the unit icon invisible using Lua. However, I cant find the way to activate the script. For xml its easy, I go to properties, actions and add OnModActivated.
From my reading for other tutorials the UI lua code should be activated by going to properties, content and adding InGameUIAddin. Unfortunately the only files I can choose are the xml ones, my lua files do not appear. The code i'm editing ends in .lua "UnitFlagManager.lua". And it was added straight from the <Civilization V>\assets\UI\InGame> directory.
Is the process for activating Lua script now different or am I missing something?
Cheers