setFlagTexture: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (VBS2 scripting category removal)
Line 48: Line 48:
[[Category:Scripting Commands ArmA|SETFLAGTEXTURE]]
[[Category:Scripting Commands ArmA|SETFLAGTEXTURE]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]]

Revision as of 12:30, 2 November 2011

Hover & click on the images for description

Description

Description:
Set flag texture. If texture is "", flag is not drawn.
Custom texture can be used, as long as it is in *.jpg format, and has dimensions of 200px*200px.
The page Flag Textures shows which textures are available in each game.
Groups:
Uncategorised

Syntax

Syntax:
flag setFlagTexture texture
Parameters:
flag: Object
texture: String
Return Value:
Nothing

Examples

Example 1:
_flagE setFlagTexture "\ca\misc\data\sever_vlajka.paa"
Example 2:
_flagW setFlagTexture "\ca\misc\data\usa_vlajka.paa"

Additional Information

See also:
See also needed

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note

Notes