OzzyMandice
Chieftain
- Joined
- Apr 4, 2021
- Messages
- 2
Is this possible?
I've been trying at this for a bit but my dummy brain that's new to LUA hasn't been exactly able to do this— basically, what I'm trying to do is to change the leader icon (and leader scene too, if possible) under certain circumstances.
I've tried using IconHookup with something like this:
but I think I'm using that wrong, or doing something wrong, as FireTurner spits back that image control: nil (although I did make sure to include IconSupport.lua).
I've also tried importing it to VFS, but that didn't seem to work either— I'm supposed to be loading it with InGameUIAddin, right?
Thanks for your help in advance, and sorry if this is in the wrong section or something, I've never used a forum before.
I've been trying at this for a bit but my dummy brain that's new to LUA hasn't been exactly able to do this— basically, what I'm trying to do is to change the leader icon (and leader scene too, if possible) under certain circumstances.
I've tried using IconHookup with something like this:
Code:
IconHookup( 2, 128, "CIV_COLOR_ATLAS_WARFANG_LEGENDS", Controls.Portrait);
I've also tried importing it to VFS, but that didn't seem to work either— I'm supposed to be loading it with InGameUIAddin, right?
Thanks for your help in advance, and sorry if this is in the wrong section or something, I've never used a forum before.