BIS fnc paramGuerFriendly: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<code>(\[?[^\[]+\]?) *(\[\[)?(call|spawn)(\]\])? *(\[\[)?(BI(N|S)_fnc_[a-zA-Z0-9_]+)(\]\])?;?<\/code>" to "<sqf>$1 $3 $6;</sqf>")
m (Text replacement - "[[Arma 3: Mission Parameters" to "[[Mission Parameters")
 
(3 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 24: Line 24:
|x1= <sqf>2 call BIS_fnc_paramGuerFriendly;</sqf>
|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