Hi all. I'm tring to stuff some pics in a pbo and i'm having a cpp problem. How do the pictures must be defined? i tried this, but it's not working. I cant see it as a resource in the trigger's list.
class CfgPatches
{
class Foto01
{
units[] = {Foto01};
weapons[] = {};
requiredVersion = 1.75;
};
};
class RscPicture
{
access=3;
type=0;
idc=-1;
style=48;
colorBackground[]={0,0,0,0};
colorText[]={1,1,1,1};
font="tahomaB24";
sizeEx=0;
};
class RscTitles
{
class Default
{
idd=-1;
movingEnable=0;
duration=4;
};
class DefPic: Default
{
type=0;
idc=-1;
style=48;
colorBackground[]={0,0,0,0};
colorText[]={1,1,1,1};
font="tahomaB24";
sizeEx=0;
};
class Foto01
{
idd=-1;
movingEnable=0;
duration=4;
name="foto 01";
controls[]={"foto01"};
class foto01: RscPicture
{
text="fotos\anim01.paa";
x=0.25;
y=0.25;
w=0.5;
h=0.25;
};
};
};