BIS fnc isCampaign: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (1 revision)
m (Text replacement - "<code>(\[[a-zA-Z0-9_, ]*\] )?\[\[(call|spawn)\]\] \[\[(BI[NS]\_fnc\_[a-zA-Z0-9_]+)\]\];?<\/code>" to "<sqf>$1$2 $3;</sqf>")
 
(28 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{RV|type=function


{{Function|= Comments
|game1= arma3
____________________________________________________________________________________________
|version1= 1.00


| arma3 |= Game name
|gr1= Campaign


|1.00|= Game version
|gr2= Missions
____________________________________________________________________________________________


| <pre>/*
|descr= Checks to see if a mission is being run in a campaign.
Description:
Check to see if a mission is being run in a campaign.
Returns:
True if being run in a campaign, false if not.
*/


</pre><small>''(Placeholder description extracted from the function header by [[BIS_fnc_exportFunctionsToWiki]])''</small> |= Description
|s1= [] call [[BIS_fnc_isCampaign]]
____________________________________________________________________________________________


| <!-- [] call [[BIS_fnc_isCampaign]]; --> |= Syntax
|r1= [[Boolean]] - [[true]] if being run in a campaign, [[false]] if not


|p1= |= Parameter 1
|x1= <sqf>[] call BIS_fnc_isCampaign;</sqf>
 
| |= Return value
____________________________________________________________________________________________
 
|x1= <code></code> |=
____________________________________________________________________________________________
 
| |= See also


|seealso= [[campaignConfigFile]]
}}
}}
<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: Missions|{{uc:isCampaign}}]]
[[Category:Functions|{{uc:isCampaign}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:isCampaign}}]]

Latest revision as of 13:04, 5 May 2022

Hover & click on the images for description

Description

Description:
Checks to see if a mission is being run in a campaign.
Execution:
call
Groups:
CampaignMissions

Syntax

Syntax:
[] call BIS_fnc_isCampaign
Return Value:
Boolean - true if being run in a campaign, false if not

Examples

Example 1:
[] call BIS_fnc_isCampaign;

Additional Information

See also:
campaignConfigFile

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