BIS fnc paramGuerFriendly: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[[cC]ategory:[fF]unctions\|\{\{uc:[a-z A-Z_]*\}\}\]\]" to "")
m (Text replacement - "[[Arma 3: Mission Parameters" to "[[Mission Parameters")
 
(13 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{RV|type=function
{{RV|type=function


| arma3
|game1= arma3
 
|version1= 1.00
|1.00


|gr1= Mission Parameters
|gr1= Mission Parameters
Line 9: Line 8:
|serverExec= server
|serverExec= server


| Set relationship between Independents and remaining sides.
|descr= Set relationship between Independents and remaining sides.


| 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 21: Line 20:
|p2=
|p2=


| [[Boolean]]
|r1= [[Boolean]]


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


| [[Arma 3 Mission Parameters]], [[:Category:Function Group: Params|Params Functions]]
|seealso= [[Mission Parameters]] [[:Category:Function Group: Mission Parameters|Mission Parameters Functions]]
}}
}}
[[Category:{{Name|arma3}}: Functions|{{uc:paramGuerFriendly}}]]

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