BIS fnc paramIn: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (template:command argument fix)
m (Some wiki formatting)
 
(37 intermediate revisions by 2 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
____________________________________________________________________________________________


| 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. |DESCRIPTION=
|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]] |SYNTAX=
|s1= See [[BIS_fnc_param]]


|p1= |PARAMETER1=
|r1=


| |RETURNVALUE=
|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]] |SEEALSO=


{{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>
<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 13: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;