forceFlagTexture: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
m (template:command argument fix) |
||
Line 12: | Line 12: | ||
| 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 /> | | 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''': Forced flag texture is an additional flag texture, which visually overrides original flag texture and therefore is very expensive to simulate, so please use the functionality sparingly. |= | '''Note''': Forced flag texture is an additional flag texture, which visually overrides original flag texture and therefore is very expensive to simulate, so please use the functionality sparingly. |DESCRIPTION= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| object '''forceFlagTexture''' texture |= | | object '''forceFlagTexture''' texture |SYNTAX= | ||
|p1= object: [[Object]] - vehicle, unit of flag pole |= | |p1= object: [[Object]] - vehicle, unit of flag pole |PARAMETER1= | ||
|p2= texture: [[String]] |= | |p2= texture: [[String]] |PARAMETER2= | ||
| [[Nothing]] |= | | [[Nothing]] |RETURNVALUE= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|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> |EXAMPLE1= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[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]] |SEEALSO= | ||
}} | }} |
Revision as of 14:39, 7 April 2019
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: Forced flag texture is an additional flag texture, which visually overrides original flag texture and therefore 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:
- 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