WFSideText: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\|game([0-9]) ?= (.+) \|version([0-9]) ?= (.+) " to "|game$1= $2 |version$3= $4 ") |
Lou Montana (talk | contribs) m (Text replacement - "{{Feature|Informative|" to "{{Feature|informative|") |
||
(6 intermediate revisions by the same user not shown) | |||
Line 17: | Line 17: | ||
|gr2= Localization | |gr2= Localization | ||
|descr= Returns the | |descr= Returns the [[localize|unlocalized]] text value of a side or an object's/group's side. | ||
{{{!}} class="wikitable" | |||
! Side | |||
{{!}} [[east]] / [[opfor]] | |||
{{!}} [[west]] / [[blufor]] | |||
{{!}} [[resistance]] / [[independent]] | |||
{{!}} [[civilian]] | |||
{{!}} [[sideUnknown]] | |||
{{!}} [[sideEnemy]] | |||
{{!}} [[sideFriendly]] | |||
{{!}} [[sideLogic]] | |||
{{!}} [[sideEmpty]] | |||
{{!}} [[sideAmbientLife]] | |||
{{!}}- style="text-align: center" | |||
! Result | |||
{{!}} "East" | |||
{{!}} "West" | |||
{{!}} "Resistance" | |||
{{!}} "Civilian" | |||
{{!}} colspan="6" {{!}} "Unknown" | |||
{{!}}} | |||
{{Feature| | {{Feature|informative|''WF'' stands for '''Warfare''', an [[Warfare 1 - Editing Guide|{{arma1}}]]/[[Warfare 2 Manual|{{arma2}}]] official game mode.}} | ||
|s1= | |s1= [[WFSideText]] value | ||
|p1= | |p1= value: [[Object]], [[Group]] or [[Side]] | ||
|r1= [[String]] - unlocalized side text value | |r1= [[String]] - unlocalized side text value | ||
|x1= < | |x1= <sqf>WFSideText player;</sqf> | ||
|x2= < | |x2= <sqf>WFSideText group player;</sqf> | ||
|x3= < | |x3= <sqf>WFSideText west;</sqf> | ||
|seealso= [[side]] | |seealso= [[side]] [[localize]] [[isLocalized]] | ||
}} | }} |
Latest revision as of 00:26, 2 February 2024
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" - Groups:
- SidesLocalization
Syntax
- Syntax:
- WFSideText value
- Parameters:
- value: Object, Group or Side
- Return Value:
- String - unlocalized side text value
Examples
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