BIS fnc paramReviveRequiredTrait: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|seealso= ([^ ]+)(\]\]|\}\}), *(\[\[|\{\{)" to "|seealso= $1$2 $3")
(Add version and description)
 
(3 intermediate revisions by the same user not shown)
Line 2: Line 2:


|game1= arma3
|game1= arma3
|version1= 1.00
|version1= 1.62


|gr1= Mission Parameters
|gr1= Mission Parameters


|descr= Grabs server param into global variable. ('''bis_reviveParam_requiredTrait''')
|descr= Stores the provided value in the global {{hl|BIS_reviveParam_requiredTrait}} mission variable.


|s1= call [[BIS_fnc_paramReviveRequiredTrait]]
|s1= [value] call [[BIS_fnc_paramReviveRequiredTrait]]
 
|p1= value: [[Number]] - (Optional, default -100)


|r1= [[Nothing]]
|r1= [[Nothing]]


|x1= <sqf>call BIS_fnc_paramReviveRequiredTrait;</sqf>
|x1= <sqf>
[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
</sqf>


|seealso= [[Arma 3 Mission Parameters]] [[:Category:Function Group: Params|Params Functions]]
|seealso= [[Mission Parameters]] {{Link|Arma 3: Revive}} [[:Category:Function Group: Mission Parameters|Mission Parameters Functions]]
}}
}}

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