forceFlagTexture: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\| *((\[\[[a-zA-Z0-9_ |()]+\]\],? ?)+) * \}\}" to "|seealso= $1 }}") |
Lou Montana (talk | contribs) m (Text replacement - "(\|[pr][0-9]+ *= *[^-\r\n]+) *- *V([a-z])" to "$1 - v$2") |
||
(5 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{RV|type=command | {{RV|type=command | ||
| arma3 | |game1= arma3 | ||
|version1= 1.70 | |||
|1.70 | |||
|eff= global | |eff= global | ||
Line 11: | Line 10: | ||
|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]]. | |descr= Forces a flag texture onto a flag carrier (unit, vehicle or flag pole). | ||
No flag holder is required. If {{hl|""}} 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]]. | |||
| | {{Feature|important|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.}} | ||
|p1= object: [[Object]] - vehicle, unit | |s1= object [[forceFlagTexture]] texture | ||
|p1= object: [[Object]] - vehicle, unit or flag pole | |||
|p2= texture: [[String]] | |p2= texture: [[String]] | ||
| [[Nothing]] | |r1= [[Nothing]] | ||
|x1= < | |x1= <sqf>player forceFlagTexture "\A3\Data_F\Flags\Flag_red_CO.paa";</sqf> | ||
|seealso= | |seealso= [[getForcedFlagTexture]] [[Arma 3: Flag Textures]] | ||
}} | }} | ||
Latest revision as of 14:46, 8 November 2023
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 or flag pole
- texture: String
- Return Value:
- Nothing
Examples
- Example 1:
Additional Information
- See also:
- getForcedFlagTexture Arma 3: Flag 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