BIS fnc paramIn: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (description)
m (Some wiki formatting)
 
(40 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{RV|type=function


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


| tkoh |= Game name
|game2= arma3
|version2= 0.50


|1.00|= Game version
|gr1= Arrays
____________________________________________________________________________________________


| <pre>#define DISABLE_REWRITE
|descr= See [[BIS_fnc_param]].
</pre><small>''(Placeholder description extracted from the function header by [[BIS_fnc_exportFunctionsToWiki]])''</small>
Overloading default values is disabled in this variant.
{{Feature arma3|This function was implemented since ArmA3, use [[BIS_fnc_param]] instead, which runs faster.}} |= Description
It's intended to be used where [[Magic Variables#this|_this]] is not used as an input param.
____________________________________________________________________________________________


| <!-- [] call [[BIS_fnc_paramIn]]; --> |= Syntax
|s1= See [[BIS_fnc_param]]


|p1= |= Parameter 1
|r1=


| |= Return value
|x1= <sqf>private _array = [_this, 0, [], [[]]] call BIS_fnc_param;
____________________________________________________________________________________________
_item = [_array,0,true,[true]] call BIS_fnc_paramIn;</sqf>


|x1= <code></code> |=
|seealso= [[BIS_fnc_param]]
____________________________________________________________________________________________
}}
 
| [[BIS_fnc_param]] |= See also


{{Note
|user= ffur2007slx2_5
|timestamp= 20140906230000
|text= {{GVI|arma3|1.28}} Use [[BIS_fnc_paramIn]] to load private path from parent parameters (loaded by [[BIS_fnc_param]])
<sqf>
private ["_parent","_child0","_child1"];
_parent = [_this, 0, [], [[]]] call BIS_fnc_param;
_child0 = [_parent, 0, missionNamespace, [missionNamespace, grpNull, objNull]] call BIS_fnc_paramIn;
_child1 = [_parent, 1, "", [""]] call BIS_fnc_paramIn;
</sqf>
}}
}}
<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: Debug|{{uc:paramIn}}]]
[[Category:Functions|{{uc:paramIn}}]]
[[Category:{{Name|tkoh}}: Functions|{{uc:paramIn}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:paramIn}}]]

Latest revision as of 12:38, 13 July 2022

Hover & click on the images for description

Description

Description:
See BIS_fnc_param. Overloading default values is disabled in this variant. It's intended to be used where _this is not used as an input param.
Execution:
call
Groups:
Arrays

Syntax

Syntax:
See BIS_fnc_param
Return Value:
Return value needed

Examples

Example 1:
private _array = [_this, 0, [], [[]]] call BIS_fnc_param; _item = [_array,0,true,[true]] call BIS_fnc_paramIn;

Additional Information

See also:
BIS_fnc_param

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
ffur2007slx2_5 - c
Posted on Sep 06, 2014 - 23:00 (UTC)
Arma 3 logo black.png1.28 Use BIS_fnc_paramIn to load private path from parent parameters (loaded by BIS_fnc_param)
private ["_parent","_child0","_child1"]; _parent = [_this, 0, [], [[]]] call BIS_fnc_param; _child0 = [_parent, 0, missionNamespace, [missionNamespace, grpNull, objNull]] call BIS_fnc_paramIn; _child1 = [_parent, 1, "", [""]] call BIS_fnc_paramIn;