forceFlagTexture: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
Lou Montana (talk | contribs) m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments( \("local" or "global"\))?|Effects|Multiplayer Effects( \("local" or "global"\))?|Multiplayer Exe...) |
||
Line 1: | Line 1: | ||
{{Command | {{Command | ||
| arma3 | | arma3 | ||
|1.70 | |1.70 | ||
|eff= global | |eff= global | ||
|arg=global | |arg=global | ||
|gr1= Flags | |gr1= Flags | ||
| 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.}} | {{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.}} | ||
| object [[forceFlagTexture]] texture | | object [[forceFlagTexture]] texture | ||
|p1= object: [[Object]] - vehicle, unit of flag pole | |p1= object: [[Object]] - vehicle, unit of flag pole | ||
|p2= texture: [[String]] | |p2= texture: [[String]] | ||
| [[Nothing]] | | [[Nothing]] | ||
|x1= <code>[[player]] [[forceFlagTexture]] "\A3\Data_F\Flags\Flag_red_CO.paa";</code> | |x1= <code>[[player]] [[forceFlagTexture]] "\A3\Data_F\Flags\Flag_red_CO.paa";</code> | ||
| [[setFlagTexture]], [[flag]], [[flagOwner]], [[setFlagOwner]], [[setFlagSide]], [[setObjectTexture]], [[setObjectTextureGlobal]], [[flagSide]], [[flagTexture]], [[setFlagAnimationPhase]], [[flagAnimationPhase]], [[getForcedFlagTexture]], [[Flag Textures]] | | [[setFlagTexture]], [[flag]], [[flagOwner]], [[setFlagOwner]], [[setFlagSide]], [[setObjectTexture]], [[setObjectTextureGlobal]], [[flagSide]], [[flagTexture]], [[setFlagAnimationPhase]], [[flagAnimationPhase]], [[getForcedFlagTexture]], [[Flag Textures]] | ||
}} | }} | ||
Revision as of 00:36, 18 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