ahh, ok.
this is what I have currently:
pictureColor[] = {1,0.5,0,1}; // Picture color
pictureColorSelect[] = {1,1,1,1}; // Selected picture color
pictureColorDisabled[] = {1,1,1,0.5}; // Disabled picture color
Hey guys,
so I have a display with a listbox control inside of it. I have an array of classnames of weapons that I am displaying inside of this listbox.
I can grab the Picture from the cfgweapons but my problem is that the weapons show up as black silhouettes.
I want to display images of the weapons in full color just like the inventory display.
Here is the code I am using to grab the picture from the config:
_pic = (getText (configFile >> 'CfgWeapons' >> _classname >> 'picture'));
I have looked through the documentation on the bis wiki and did not find any other information relating to this unfortunately.
Any help is greatly appreciated!
Hello guys, this is my first post here so please be gentle. I will start by saying that I have googled this question and have not got much results that were useful.
My understanding is that before a variable is initialized its state is "nil". After initialization, the varaible can be empty or have a value.
My question is: if I initialize a public variable, let's say "MyVariable", can I revert it back to a state of nil?
Would this work?
publicVariable "MyVarible";
"MyVariable" = 1;
if(!isnil("MyVariable")) {
"MyVariable" = nil;
};