BIS fnc paramGuerFriendly: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (template:command argument fix)
m (Text replacement - "[[Arma 3: Mission Parameters" to "[[Mission Parameters")
 
(28 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Function|= Comments
{{RV|type=function
____________________________________________________________________________________________


| arma3 |= Game name
|game1= arma3
|version1= 1.00


|1.00|= Game version
|gr1= Mission Parameters
____________________________________________________________________________________________


| Set relationship between Independents and remaining sides.|DESCRIPTION=
|serverExec= server


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


| number call [[BIS_fnc_paramGuerFriendly]] |SYNTAX=
|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>
1 - BLUFOR<br>
1 - BLUFOR<br>
2 - Everybody|PARAMETER1=
2 - Everybody


|p2= |PARAMETER2=
|p2=
____________________________________________________________________________________________


| [[Boolean]]|RETURNVALUE=
|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=
|seealso= [[Mission Parameters]] [[:Category:Function Group: Mission Parameters|Mission Parameters Functions]]
}}
}}
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->
<!-- Note Section END -->
</dl>
<h3 style="display:none">Bottom Section</h3>
[[Category:Function Group: Params|{{uc:paramGuerFriendly}}]]
[[Category:Functions|{{uc:paramGuerFriendly}}]]
[[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