BIS fnc paramIn: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<dl class="command_description"> <dt></dt>" to "<dl class="command_description"> <dt></dt>")
m (Some wiki formatting)
 
(11 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{RV|type=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 [[Magic Variables#this|_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= <code>_array <nowiki>=</nowiki> [_this,0,[],[[]]] [[call]] [[BIS_fnc_param]];
|x1= <sqf>private _array = [_this, 0, [], [[]]] call BIS_fnc_param;
_item <nowiki>=</nowiki> [_array,0,[[true]],[true]] call [[BIS_fnc_paramIn]];</code>
_item = [_array,0,true,[true]] call BIS_fnc_paramIn;</sqf>


|seealso= [[BIS_fnc_param]]
|seealso= [[BIS_fnc_param]]
}}
}}


<dl class="command_description">
{{Note
 
|user= ffur2007slx2_5
<dt></dt>
|timestamp= 20140906230000
<dd class="notedate">Posted: 23:00 Sep 6 2014</dd>
|text= {{GVI|arma3|1.28}} Use [[BIS_fnc_paramIn]] to load private path from parent parameters (loaded by [[BIS_fnc_param]])
<dt class="note">[[User:ffur2007slx2_5|ffur2007slx2_5]]</dt>
<sqf>
<dd class="note">{{GVI|arma3|1.28}} Use [[BIS_fnc_paramIn]] to load private path from parent parameters (loaded by [[BIS_fnc_param]])
private ["_parent","_child0","_child1"];
<code>[[private]] ["_parent","_child0","_child1"];
_parent = [_this, 0, [], [[]]] call BIS_fnc_param;
_parent = [_this,0,[],[[]]] [[call]] [[BIS_fnc_param]];
_child0 = [_parent, 0, missionNamespace, [missionNamespace, grpNull, objNull]] call BIS_fnc_paramIn;
_child0 = [_parent,0,[[missionNamespace]],[ [[missionNamespace]],[[grpNull]],[[objNull]] ]] [[call]] [[BIS_fnc_paramIn]];
_child1 = [_parent, 1, "", [""]] call BIS_fnc_paramIn;
_child1 = [_parent,1,"",[""]] [[call]] [[BIS_fnc_paramIn]];
</sqf>
</code>
}}
</dl>
 
[[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;