WFSideText: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\|s1= +" to "|s1= ") |
Lou Montana (talk | contribs) m (Some wiki formatting) |
||
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|Informative|''WF'' stands for ''' | {{Feature|Informative|''WF'' stands for '''Warfare''', an [[Warfare 1 - Editing Guide|{{arma1}}]]/[[Warfare 2 Manual|{{arma2}}]] official game mode.}} | ||
|s1= [[WFSideText]] | |s1= [[WFSideText]] value | ||
|p1= | |p1= value: [[Object]], [[Group]] or [[Side]] | ||
|r1= [[String]] - unlocalized side text value | |r1= [[String]] - unlocalized side text value | ||
Line 42: | Line 52: | ||
|x2= <Code>[[WFSideText]] [[group]] [[player]];</Code> | |x2= <Code>[[WFSideText]] [[group]] [[player]];</Code> | ||
|x3= <Code>[[WFSideText]] [[west]]</Code> | |x3= <Code>[[WFSideText]] [[west]];</Code> | ||
|seealso= [[side]], [[localize]], [[isLocalized]] | |seealso= [[side]], [[localize]], [[isLocalized]] | ||
}} | }} |
Revision as of 21:54, 5 August 2021
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
- Example 1:
WFSideText player;
- Example 2:
WFSideText group player;
- Example 3:
WFSideText west;
Additional Information
- See also:
- sidelocalizeisLocalized
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