OFPEC Forum
Editors Depot - Mission Editing and Scripting => ArmA - Editing/Scripting General => Topic started by: 22jacket on 07 Nov 2007, 14:16:12
-
Hi yer ..
I added a custom flag on flagpole (empty/objects/flag(US).
using this setflagtexture "cos1.jpg" this is name of custom flag but on preview in editior the flag is black..Can anyone tell me how to get my custom flag to show..
-
might be that you need the full path to your flag texture, make sure it is also sized in 2^.
So instead of setflagtexture "cos1.jpg", you would have setflagtexture "upstairs\inmybedroom\underthebed\cos1.jpg"
256 X 256 is about normal.
Edit: Just realised you are trying to use the us flag pole, this comes complete with us flag, so not sure what the result of that would be.
You need to use the empty flagpole, "FlagCarrier".
pole = "FlagCarrier" createvehicle getpos player; pole setFlagTexture "cos1.jpg"
presuming the texture is in your mission folder.
Planck