WFSideText: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\| *((\[\[.*\]\],? ?)+) * \}\}" to "|seealso= $1 }}") |
(formatting and new command group, moved KK's note into the description) |
||
Line 1: | Line 1: | ||
{{RV|type=command | {{RV|type=command | ||
| arma2 | |game1= arma2 | ||
|1.04 | |version1= 1.04 | ||
|game2= arma2oa | |||
|version2= 1.51 | |||
|game3= tkoh | |||
|version3= 1.00 | |||
|game4= arma3 | |||
|version4= 0.50 | |||
|gr1= Sides | |gr1= Sides | ||
| Returns the un[[localize]]d text value of an object's side / a group's side or a side as: | |gr2= Localization | ||
|descr= Returns the un[[localize]]d text value of an object's side / a group's side or a side as: | |||
* [[east]], [[opfor]] - "East" | * [[east]], [[opfor]] - "East" | ||
Line 20: | Line 34: | ||
* [[sideAmbientLife]] - "Unknown" | * [[sideAmbientLife]] - "Unknown" | ||
| '''WFSideText''' param | {{Feature|Informative|''WF'' stands for '''W'''ar'''f'''are.}} | ||
|s1= '''WFSideText''' param | |||
|p1= param: [[Object]], [[Group]] or [[Side]] | |p1= param: [[Object]], [[Group]] or [[Side]] | ||
| [[String]] - unlocalized side text value | |r1= [[String]] - unlocalized side text value | ||
|x1= <Code>[[WFSideText]] [[player]];</Code> | |x1= <Code>[[WFSideText]] [[player]];</Code> | ||
Line 34: | Line 50: | ||
|seealso= [[side]], [[localize]], [[isLocalized]] | |seealso= [[side]], [[localize]], [[isLocalized]] | ||
}} | }} | ||
Revision as of 10:00, 13 March 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:
- SidesLocalization
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