BIS fnc paramGuerFriendly: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\| *(arg|eff|mp|serverExec|gr[0-9]) *= *(.*) * *\|([^=]{12})" to "|$1=$2 |descr=$3")
m (Text replacement - "[[Arma 3: Mission Parameters" to "[[Mission Parameters")
 
(7 intermediate revisions by the same user 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 11: Line 10:
|descr= Set relationship between Independents and remaining sides.
|descr= Set relationship between Independents and remaining sides.


|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 23: 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