For IconLookup and Hookup,
first question: What is the difference?
second question: Is the fourth value the name of the variable the icon is being stored locally?
For example would the line
store the first icon of the 32pix SNCIT_ATLAS to the variable bureaucratTexture?
Would this line do anything differently?
For reference, I am trying to assign a variable name to the icon so that I can display a new specialist icon in cityview. The game has a separate .dds for each specialist on top of the atlas, which seems awfully redundant.
If anyone can give me feedback, it would be most welcome!
first question: What is the difference?
second question: Is the fourth value the name of the variable the icon is being stored locally?
For example would the line
Code:
local IconLookup( 0, 32, "SNCIT_ATLAS", bureaucratTexture);
Would this line do anything differently?
Code:
local bureaucratTexture = IconLookup( 0, 32, "SNCIT_ATLAS", bureaucratTexture);
For reference, I am trying to assign a variable name to the icon so that I can display a new specialist icon in cityview. The game has a separate .dds for each specialist on top of the atlas, which seems awfully redundant.
If anyone can give me feedback, it would be most welcome!