BIS fnc paramGuerFriendly: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|s1= +" to "|s1= ")
m (Text replacement - "[[Arma 3: Mission Parameters" to "[[Mission Parameters")
 
(5 intermediate revisions by the same user not shown)
Line 12: Line 12:
|s1= number call [[BIS_fnc_paramGuerFriendly]]
|s1= number call [[BIS_fnc_paramGuerFriendly]]


|p1= number: [[Number]] - Side relation, can be:<br>
|p1= number: [[Number]] - side relation, can be:<br>
-1 - Nobody<br>
-1 - Nobody<br>
0 - OPFOR<br>
0 - OPFOR<br>
Line 22: Line 22:
|r1= [[Boolean]]
|r1= [[Boolean]]


|x1= <code>2 [[call]] [[BIS_fnc_paramGuerFriendly]];</code>
|x1= <sqf>2 call BIS_fnc_paramGuerFriendly;</sqf>


|seealso= [[Arma 3 Mission Parameters]], [[:Category:Function Group: Params|Params Functions]]
|seealso= [[Mission Parameters]] [[:Category:Function Group: Mission Parameters|Mission Parameters Functions]]
}}
}}

Latest revision as of 17:42, 12 February 2024

Hover & click on the images for description

Description

Description:
Set relationship between Independents and remaining sides.
Execution:
call
Groups:
Mission Parameters

Syntax

Syntax:
number call BIS_fnc_paramGuerFriendly
Parameters:
number: Number - side relation, can be:
-1 - Nobody
0 - OPFOR
1 - BLUFOR
2 - Everybody
Return Value:
Boolean

Examples

Example 1:
2 call BIS_fnc_paramGuerFriendly;

Additional Information

See also:
Mission Parameters Mission Parameters Functions

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