forceFlagTexture: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Added note on performance costs)
m (Note about flagTexture)
Line 11: Line 11:
____________________________________________________________________________________________
____________________________________________________________________________________________


| Forces a flag texture onto a flag carrier (unit, vehicle or flag pole). No flag holder is required. If "" is used as texture, the texture is removed. This will override regularly owned flags. This type of flag is very expensive to simulate, so please use the functionality sparingly. |= Description
| Forces a flag texture onto a flag carrier (unit, vehicle or flag pole). No flag holder is required. If "" is used as texture, the texture is removed. This will override regularly owned flags. This type of flag texture cannot be retrieved using [[flagTexture]].<br /><br />
'''Note''': this type of flag is very expensive to simulate, so please use the functionality sparingly. |= Description
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 16:41, 22 March 2017

-wrong parameter ("arma3dev") defined!-[[:Category:Introduced with arma3dev version 1.69|1.69]]
Hover & click on the images for description

Description

Description:
Forces a flag texture onto a flag carrier (unit, vehicle or flag pole). No flag holder is required. If "" is used as texture, the texture is removed. This will override regularly owned flags. This type of flag texture cannot be retrieved using flagTexture.

Note: this type of flag is very expensive to simulate, so please use the functionality sparingly.
Groups:
Uncategorised

Syntax

Syntax:
object forceFlagTexture texture
Parameters:
object: Object - vehicle, unit of flag pole
texture: String
Return Value:
Nothing

Examples

Example 1:
player forceFlagTexture "\A3\Data_F\Flags\Flag_red_CO.paa";

Additional Information

See also:
setFlagTextureflagflagOwnersetFlagOwnersetFlagSidesetObjectTexturesetObjectTextureGlobalflagSideflagTexturesetFlagAnimationPhaseflagAnimationPhaseFlag Textures

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

[[Category:Introduced with arma3dev version 1.69]][[ Category: arma3dev: New Scripting Commands | FORCEFLAGTEXTURE]][[ Category: arma3dev: Scripting Commands | FORCEFLAGTEXTURE]]

Notes