save3DENInventory: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Added example and parameters)
mNo edit summary
(28 intermediate revisions by 6 users not shown)
Line 1: Line 1:
{{Command|=
{{RV|type=command
____________________________________________________________________________________________
|arma3 |= Game
|1.56|= Game Version
|arg=  |= Multiplayer Arguments
|eff=  |= Multiplayer Effects
____________________________________________________________________________________________
| Saves current state of entitie's inventory to SQM. |= Description
____________________________________________________________________________________________
| [[save3DENInventory]] [entities] |= Syntax
|p1=[[Array]] - Entities  |= Parameter 1


| [[Nothing]] |= Return Value
|game1= arma3
|x1= [[save3DENInventory]] ([[get3DENSelected]] "object") |= Example 1
|version1= 1.56
| - |= See Also
 
}}
|gr1= Eden Editor
 
|descr= Saves the current state of entities' inventory to the [[Mission.sqm]].
 
|s1= [[save3DENInventory]] entities
 
|p1= entities: [[Array]] of [[Eden Entity]] or [[Eden ID]]
 
|r1= [[Nothing]]


<dl class='command_description'>
|x1= <code>[[save3DENInventory]] [_soldier1, _solider2];</code>
<!-- 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= <code>[[save3DENInventory]] [11234, 21251];</code>
<!-- Appropriate categories go here -->


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

Revision as of 14:10, 9 October 2021

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, _solider2];
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