WFSideText: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Some wiki formatting)
m (Text replacement - "\|seealso= ?\[\[([^ ]+)\]\], \[\[([^ ]+)\]\]" to "|seealso= $1 $2")
Line 54: Line 54:
|x3= <Code>[[WFSideText]] [[west]];</Code>
|x3= <Code>[[WFSideText]] [[west]];</Code>


|seealso= [[side]], [[localize]], [[isLocalized]]
|seealso= [[side]] [[localize]], [[isLocalized]]
}}
}}

Revision as of 13:57, 20 January 2022

Hover & click on the images for description

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"
WF stands for Warfare, an Armed Assault/Arma 2 official game mode.
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:
side localizeisLocalized

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