forceFlagTexture: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) |
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
||
Line 1: | Line 1: | ||
{{Command|Comments= | {{Command|Comments= | ||
| arma3 |Game name= | | arma3 |Game name= | ||
Line 11: | Line 10: | ||
|gr1= Flags |GROUP1= | |gr1= Flags |GROUP1= | ||
| 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]], but [[getForcedFlagTexture]]. | | 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]], but [[getForcedFlagTexture]]. | ||
{{Informative | Forced flag texture is an additional flag texture, which visually overrides original flag texture and therefore is very expensive to simulate, so use the functionality sparingly.}} |DESCRIPTION= | {{Informative | Forced flag texture is an additional flag texture, which visually overrides original flag texture and therefore is very expensive to simulate, so use the functionality sparingly.}} |DESCRIPTION= | ||
| object [[forceFlagTexture]] texture |SYNTAX= | | object [[forceFlagTexture]] texture |SYNTAX= | ||
Line 24: | Line 21: | ||
| [[Nothing]] |RETURNVALUE= | | [[Nothing]] |RETURNVALUE= | ||
|x1= <code>[[player]] [[forceFlagTexture]] "\A3\Data_F\Flags\Flag_red_CO.paa";</code> |EXAMPLE1= | |x1= <code>[[player]] [[forceFlagTexture]] "\A3\Data_F\Flags\Flag_red_CO.paa";</code> |EXAMPLE1= | ||
| [[setFlagTexture]], [[flag]], [[flagOwner]], [[setFlagOwner]], [[setFlagSide]], [[setObjectTexture]], [[setObjectTextureGlobal]], [[flagSide]], [[flagTexture]], [[setFlagAnimationPhase]], [[flagAnimationPhase]], [[getForcedFlagTexture]], [[Flag Textures]] |SEEALSO= | | [[setFlagTexture]], [[flag]], [[flagOwner]], [[setFlagOwner]], [[setFlagSide]], [[setObjectTexture]], [[setObjectTextureGlobal]], [[flagSide]], [[flagTexture]], [[setFlagAnimationPhase]], [[flagAnimationPhase]], [[getForcedFlagTexture]], [[Flag Textures]] |SEEALSO= |
Revision as of 01:23, 17 January 2021
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, but getForcedFlagTexture.
- Groups:
- Flags
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:
- setFlagTextureflagflagOwnersetFlagOwnersetFlagSidesetObjectTexturesetObjectTextureGlobalflagSideflagTexturesetFlagAnimationPhaseflagAnimationPhasegetForcedFlagTextureFlag 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