faction: Difference between revisions

From Bohemia Interactive Community
m (Text replacement - " +" to " ")
m (Text replacement - " <dl class="command_description"> <dt><dt>" to " <dl class="command_description"> <dt><dt>")
Line 105: Line 105:


<dl class="command_description">
<dl class="command_description">
<dt><dt>
<dt><dt>
<dd class="notedate">
<dd class="notedate">

Revision as of 15:47, 12 June 2021

Hover & click on the images for description

Description

Description:
Description needed
Groups:
Object ManipulationSides

Syntax

Syntax:
Syntax needed
Parameters:
unitName: Object
Return Value:
String

Examples

Example 1:
private _playerFaction = faction player;

Additional Information

See also:
sideSide

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord.
Only post proven facts here! Add Note
Tankbuster
Faction behaves slightly differently to side. Side can refer to the pilot or commander of a vehicle, but faction never changes. It always returns the 'country of manufacture'.