You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I am trying to add a flagpole to my base and i have placed the jpg in the root of the mission files and added this to the init of the flagpole.
this setFlagTexture "flag.jpg"
It works fine in any other scenario but on the I&A framework i get a empty flagpole with no flag attached.
I tried adding the flag to the parameters file and that too did nothing.
_community_flag_texture = 'flag.jpg'; // Community texture applied to some flags. Default: 'a3\data_f\flags\flag_nato_co.paa'
_default_flag_texture = 'flag.jpg'; // Texture applied to friendly flags. Default: 'a3\data_f\flags\flag_nato_co.paa'
What could be removing my flag considering that i am writing the setflagtexture in the init? I jumped into the VR and placed the same code and it worked. So i must think that something in the I&A framework is removing this.
The text was updated successfully, but these errors were encountered:
Are you using the default built-in base or creating a custom base?
If you are using the default base, everything is wiped clean from the map before it generates. You can prevent things from being wiped clean (while still using default base) by putting this in the init of the object:
this setVariable ["QS_missionObject_protected",true,false];
Hi,
I am trying to add a flagpole to my base and i have placed the jpg in the root of the mission files and added this to the init of the flagpole.
this setFlagTexture "flag.jpg"
It works fine in any other scenario but on the I&A framework i get a empty flagpole with no flag attached.
I tried adding the flag to the parameters file and that too did nothing.
_community_flag_texture = 'flag.jpg'; // Community texture applied to some flags. Default: 'a3\data_f\flags\flag_nato_co.paa'
_default_flag_texture = 'flag.jpg'; // Texture applied to friendly flags. Default: 'a3\data_f\flags\flag_nato_co.paa'
What could be removing my flag considering that i am writing the setflagtexture in the init? I jumped into the VR and placed the same code and it worked. So i must think that something in the I&A framework is removing this.
The text was updated successfully, but these errors were encountered: