WFSideText: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|seealso= ?\[\[([^ ]+)\]\], \[\[([^ ]+)\]\]" to "|seealso= $1 $2")
m (Some wiki formatting)
Line 31: Line 31:
{{!}} [[sideEmpty]]
{{!}} [[sideEmpty]]
{{!}} [[sideAmbientLife]]
{{!}} [[sideAmbientLife]]
{{!}}- style{{=}}"text-align: center"
{{!}}- style="text-align: center"
! Result
! Result
{{!}} "East"
{{!}} "East"
Line 37: Line 37:
{{!}} "Resistance"
{{!}} "Resistance"
{{!}} "Civilian"
{{!}} "Civilian"
{{!}} colspan{{=}}"6" {{!}} "Unknown"
{{!}} colspan="6" {{!}} "Unknown"
{{!}}}
{{!}}}


Line 48: Line 48:
|r1= [[String]] - unlocalized side text value
|r1= [[String]] - unlocalized side text value


|x1= <Code>[[WFSideText]] [[player]];</Code>
|x1= <sqf>WFSideText player;</sqf>


|x2= <Code>[[WFSideText]] [[group]] [[player]];</Code>
|x2= <sqf>WFSideText group player;</sqf>


|x3= <Code>[[WFSideText]] [[west]];</Code>
|x3= <sqf>WFSideText west;</sqf>


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

Revision as of 23:04, 7 August 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 localize isLocalized

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