save3DENInventory: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(Created page with "{{Command|= ____________________________________________________________________________________________ |arma3 |= Game |1.62|= Game Version |arg= |= Multiplayer Arguments |...")
 
m (Text replacement - "solider" to "soldier")
 
(32 intermediate revisions by 8 users not shown)
Line 1: Line 1:
{{Command|=
{{RV|type=command
____________________________________________________________________________________________
 
|arma3 |= Game
|game1= arma3
|1.62|= Game Version
|version1= 1.56
|arg=  |= Multiplayer Arguments
 
|eff=  |= Multiplayer Effects
|gr1= Eden Editor
____________________________________________________________________________________________
 
| Saves current state of entitie's inventory to SQM. |= Description
|descr= Saves the current state of entities' inventory to the [[Mission.sqm]].
____________________________________________________________________________________________
 
| |= Syntax
|s1= [[save3DENInventory]] entities
|p1= |= Parameter 1
 
|p2=  |= Parameter 2
|p1= entities: [[Array]] of [[Eden Entity]] or [[Eden ID]]
|p3=  |= Parameter 3
 
|p3=  |= Parameter 4
|r1= [[Nothing]]
|p3= |= Parameter 5
|p3=  |= Parameter 6
| [[Nothing]] |= Return Value
|x1=  |= Example 1
| - |= See Also
}}


<dl class='command_description'>
|x1= <sqf>save3DENInventory [_soldier1, _soldier2];</sqf>
<!-- BEGIN Note Section -->
<!-- For example:
<dd class='notedate'>Posted on Month Day, Year - Time (UTC)</dd>
<dt class='note'>'''[[User:User Name|User Name]]'''</dt>
<dd class='note'>This is an example note. It is true and verifiable, and contains a little code snippet.
<code>[[if]] ([[_this]] == anExample) [[then]] { [[hint]] Leave it here for others to read; };</code></dd>
-->
<!-- END Note Section -->
</dl>


<h3 style='display:none'>Bottom Section</h3>
|x2= <sqf>save3DENInventory [11234, 21251];</sqf>
<!-- Appropriate categories go here -->


[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
|seealso= [[clear3DENInventory]] [[get3DENEntityID]] [[collect3DENHistory]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
}}

Latest revision as of 22:24, 31 August 2022

Hover & click on the images for description

Description

Description:
Saves the current state of entities' inventory to the Mission.sqm.
Groups:
Eden Editor

Syntax

Syntax:
save3DENInventory entities
Parameters:
entities: Array of Eden Entity or Eden ID
Return Value:
Nothing

Examples

Example 1:
save3DENInventory [_soldier1, _soldier2];
Example 2:
save3DENInventory [11234, 21251];

Additional Information

See also:
clear3DENInventory get3DENEntityID collect3DENHistory

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