WFSideText: Difference between revisions
Jump to navigation
Jump to search
(Created article, no idea how it works though) |
(version, description, syntax, examples (anyone has a better param name?)) |
||
Line 4: | Line 4: | ||
| arma2 |= Game name | | arma2 |= Game name | ||
|1. | |1.04|= Game version | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | Returns the unlocalized text value of an object's side / a group's side or a side as: | ||
East, West, Resistance, Civilian or Unknown |= Description | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| '''WFSideText''' | | '''WFSideText''' objectOrGroupOrSide |= Syntax | ||
|p1= |= PARAMETER1 | |p1= objectOrGroupOrSide: [[Object]], [[Group]] or [[Side]] |= PARAMETER1 | ||
|p2= |= PARAMETER2 | |p2= |= PARAMETER2 | ||
Line 18: | Line 20: | ||
|p3= |= PARAMETER3 | |p3= |= PARAMETER3 | ||
| | | [[String]] - unlocalized text value of objectOrGroupOrSide's [[Side]] |= RETURNVALUE | ||
|x1= <Code> WFSideText player </Code> |= EXAMPLE1 | |||
|x2= <Code> WFSideText group player </Code> |= EXAMPLE2 | |||
| | |x3= <Code> WFSideText West </Code> |= EXAMPLE3 | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ |
Revision as of 15:00, 30 December 2009
Description
- Description:
- Returns the unlocalized text value of an object's side / a group's side or a side as: East, West, Resistance, Civilian or Unknown
- Groups:
- Uncategorised
Syntax
- Syntax:
- WFSideText objectOrGroupOrSide
- Parameters:
- objectOrGroupOrSide: Object, Group or Side
- Return Value:
- String - unlocalized text value of objectOrGroupOrSide's Side
Examples
- Example 1:
WFSideText player
- Example 2:
WFSideText group player
- Example 3:
WFSideText West
Additional Information
- See also:
- See also needed
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