WFSideText: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Arma[ _]2(\|.*)]]" to "{{GameCategory|arma2|Scripting Commands}}") |
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
||
Line 1: | Line 1: | ||
{{Command|Comments= | {{Command|Comments= | ||
| arma2 |Game name= | | arma2 |Game name= | ||
Line 7: | Line 6: | ||
|gr1= Sides |GROUP1= | |gr1= Sides |GROUP1= | ||
| Returns the un[[localize]]d text value of an object's side / a group's side or a side as: | | Returns the un[[localize]]d text value of an object's side / a group's side or a side as: | ||
Line 21: | Line 19: | ||
* [[sideEmpty]] - "Unknown" | * [[sideEmpty]] - "Unknown" | ||
* [[sideAmbientLife]] - "Unknown" |DESCRIPTION= | * [[sideAmbientLife]] - "Unknown" |DESCRIPTION= | ||
| '''WFSideText''' param |SYNTAX= | | '''WFSideText''' param |SYNTAX= | ||
Line 40: | Line 37: | ||
|x3= <Code>[[WFSideText]] [[west]]</Code> |EXAMPLE3= | |x3= <Code>[[WFSideText]] [[west]]</Code> |EXAMPLE3= | ||
| [[side]], [[localize]], [[isLocalized]] |SEEALSO= | | [[side]], [[localize]], [[isLocalized]] |SEEALSO= | ||
| |MPBEHAVIOUR= | | |MPBEHAVIOUR= | ||
}} | }} | ||
Revision as of 00:07, 17 January 2021
Description
- Description:
- Returns the unlocalized text value of an object's side / a group's side or a side as:
- east, opfor - "East"
- west, blufor - "West"
- resistance, independent - "Resistance"
- civilian - "Civilian"
- sideUnknown - "Unknown"
- sideEnemy - "Unknown"
- sideFriendly - "Unknown"
- sideLogic - "Unknown"
- sideEmpty - "Unknown"
- sideAmbientLife - "Unknown"
- Groups:
- Sides
Syntax
- Syntax:
- WFSideText param
- Parameters:
- param: 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
Notes
Bottom Section
- Posted on August 17, 2014 - 11:04 (UTC)
- Killzone Kid
- WF stands for Warfare