BIS fnc paramIn: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<h3 style="display:none">Bottom Section</h3>" to "")
m (Some wiki formatting)
 
(28 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Function
{{RV|type=function


| tkoh
|game1= tkoh
|version1= 1.00


|1.00
|game2= arma3
|version2= 0.50


|gr1 = Arrays
|gr1= Arrays


| 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.
|descr= See [[BIS_fnc_param]].
Overloading default values is disabled in this variant.
It's intended to be used where [[Magic Variables#this|_this]] is not used as an input param.


| See [[BIS_fnc_param]]
|s1= See [[BIS_fnc_param]]


|p1=
|r1=


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


|x1= <code>_array <nowiki>=</nowiki> [_this,0,[],[[]]] [[call]] [[BIS_fnc_param]];
|seealso= [[BIS_fnc_param]]
_item <nowiki>=</nowiki> [_array,0,[[true]],[true]] call [[BIS_fnc_paramIn]];</code>
}}
 
| [[BIS_fnc_param]]


{{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 -->
<dd class="notedate">Posted: 23:00 Sep 6 2014</dd>
<dt class="note">[[User:ffur2007slx2_5|ffur2007slx2_5]]</dt>
<dd class="note">(A3 1.28) Use [[BIS_fnc_paramIn]] to load private path from parent parameters (loaded by [[BIS_fnc_param]])
<code>
[[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]];
</code>
<!-- Note Section END -->
</dl>
[[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;