BIS fnc paramReviveRequiredTrait: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Generated by BIS_fnc_exportFunctionsToWiki)
 
(Add version and description)
 
(29 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{RV|type=function


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


| arma3 |= Game name
|gr1= Mission Parameters


|1.00|= Game version
|descr= Stores the provided value in the global {{hl|BIS_reviveParam_requiredTrait}} mission variable.
____________________________________________________________________________________________


| <pre>/*
|s1= [value] call [[BIS_fnc_paramReviveRequiredTrait]]
Author: Jiri Wainar


Description:
|p1= value: [[Number]] - (Optional, default -100)
Grabs server param into global variable.
*/


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


| <!-- [] call [[BIS_fnc_paramReviveRequiredTrait]]; --> |= Syntax
|x1= <sqf>
|p1= |= Parameter 1
[42] call BIS_fnc_paramReviveRequiredTrait; // BIS_reviveParam_requiredTrait is now 42
 
"hi" call BIS_fnc_paramReviveRequiredTrait; // BIS_reviveParam_requiredTrait is now -100
| |= Return value
42 call BIS_fnc_paramReviveRequiredTrait; // BIS_reviveParam_requiredTrait is now 42
____________________________________________________________________________________________
call BIS_fnc_paramReviveRequiredTrait; // BIS_reviveParam_requiredTrait is now -100
 
</sqf>
|x1= <code></code> |=
____________________________________________________________________________________________
 
| |= See also


|seealso= [[Mission Parameters]] {{Link|Arma 3: Revive}} [[: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:paramReviveRequiredTrait}}]]
[[Category:Functions|{{uc:paramReviveRequiredTrait}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:paramReviveRequiredTrait}}]]

Latest revision as of 11:38, 27 November 2024

Hover & click on the images for description

Description

Description:
Stores the provided value in the global BIS_reviveParam_requiredTrait mission variable.
Execution:
call
Groups:
Mission Parameters

Syntax

Syntax:
[value] call BIS_fnc_paramReviveRequiredTrait
Parameters:
value: Number - (Optional, default -100)
Return Value:
Nothing

Examples

Example 1:
[42] call BIS_fnc_paramReviveRequiredTrait; // BIS_reviveParam_requiredTrait is now 42 "hi" call BIS_fnc_paramReviveRequiredTrait; // BIS_reviveParam_requiredTrait is now -100 42 call BIS_fnc_paramReviveRequiredTrait; // BIS_reviveParam_requiredTrait is now 42 call BIS_fnc_paramReviveRequiredTrait; // BIS_reviveParam_requiredTrait is now -100

Additional Information

See also:
Mission Parameters Arma 3: Revive 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