WFSideText: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(formatting and new command group, moved KK's note into the description)
m (Text replacement - "{{Feature|Informative|" to "{{Feature|informative|")
 
(8 intermediate revisions by the same user not shown)
Line 2: Line 2:


|game1= arma2
|game1= arma2
|version1= 1.04
|version1= 1.04


|game2= arma2oa
|game2= arma2oa
 
|version2= 1.50
|version2= 1.51


|game3= tkoh
|game3= tkoh
|version3= 1.00
|version3= 1.00


|game4= arma3
|game4= arma3
|version4= 0.50
|version4= 0.50


Line 21: Line 17:
|gr2= Localization
|gr2= Localization


|descr= Returns the un[[localize]]d text value of an object's side / a group's side or a side as:
|descr= Returns the [[localize|unlocalized]] text value of a side or an object's/group's side.


* [[east]], [[opfor]] - "East"
{{{!}} class="wikitable"
* [[west]], [[blufor]] - "West"
! Side
* [[resistance]], [[independent]] - "Resistance"
{{!}} [[east]] / [[opfor]]
* [[civilian]] - "Civilian"
{{!}} [[west]] / [[blufor]]
* [[sideUnknown]] - "Unknown"
{{!}} [[resistance]] / [[independent]]
* [[sideEnemy]] - "Unknown"
{{!}} [[civilian]]
* [[sideFriendly]] - "Unknown"
{{!}} [[sideUnknown]]
* [[sideLogic]] - "Unknown"
{{!}} [[sideEnemy]]
* [[sideEmpty]] - "Unknown"
{{!}} [[sideFriendly]]
* [[sideAmbientLife]] - "Unknown"
{{!}} [[sideLogic]]
{{!}} [[sideEmpty]]
{{!}} [[sideAmbientLife]]
{{!}}- style="text-align: center"
! Result
{{!}} "East"
{{!}} "West"
{{!}} "Resistance"
{{!}} "Civilian"
{{!}} colspan="6" {{!}} "Unknown"
{{!}}}


{{Feature|Informative|''WF'' stands for '''W'''ar'''f'''are.}}
{{Feature|informative|''WF'' stands for '''Warfare''', an [[Warfare 1 - Editing Guide|{{arma1}}]]/[[Warfare 2 Manual|{{arma2}}]] official game mode.}}


|s1= '''WFSideText''' param
|s1= [[WFSideText]] value


|p1= param: [[Object]], [[Group]] or [[Side]]
|p1= value: [[Object]], [[Group]] or [[Side]]


|r1= [[String]] - unlocalized side text value
|r1= [[String]] - unlocalized side text value


|x1= <Code>[[WFSideText]] [[player]];</Code>
|x1= <sqf>WFSideText player;</sqf>


|x2= <Code>[[WFSideText]] [[group]] [[player]];</Code>
|x2= <sqf>WFSideText group player;</sqf>


|x3= <Code>[[WFSideText]] [[west]]</Code>
|x3= <sqf>WFSideText west;</sqf>


|seealso= [[side]], [[localize]], [[isLocalized]]
|seealso= [[side]] [[localize]] [[isLocalized]]
}}
}}

Latest revision as of 00:26, 2 February 2024

Hover & click on the images for description

Description

Description:
Returns the unlocalized text value of a side or an object's/group's side.
Side east / opfor west / blufor resistance / independent civilian sideUnknown sideEnemy sideFriendly sideLogic sideEmpty sideAmbientLife
Result "East" "West" "Resistance" "Civilian" "Unknown"
WF stands for Warfare, an Armed Assault/Arma 2 official game mode.
Groups:
SidesLocalization

Syntax

Syntax:
WFSideText value
Parameters:
value: Object, Group or Side
Return Value:
String - unlocalized side text value

Examples

Example 1:
WFSideText player;
Example 2:
WFSideText group player;
Example 3:
WFSideText west;

Additional Information

See also:
side localize isLocalized

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