save3DENInventory: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (template:command argument fix)
m (Text replacement - "solider" to "soldier")
 
(21 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= entities: [[Array]] of types [[Eden Entity]] or [[Eden ID]]  |PARAMETER1=


| [[Nothing]] |RETURNVALUE=
|game1= arma3
|x1= [[save3DENInventory]] [_soldier1,_solider2] |EXAMPLE1=
|version1= 1.56
|  
 
[[get3DENMouseOver]]
|gr1= Eden Editor
[[add3DENConnection]]
 
[[add3DENEventHandler]]
|descr= Saves the current state of entities' inventory to the [[Mission.sqm]].
[[collect3DENHistory]]
 
[[create3DENComposition]]
|s1= [[save3DENInventory]] entities
[[create3DENEntity]]
 
[[current3DENOperation]]
|p1= entities: [[Array]] of [[Eden Entity]] or [[Eden ID]]
[[delete3DENEntities]]
 
[[do3DENAction]]
|r1= [[Nothing]]
[[get3DENActionState]]
[[get3DENAttribute]]
[[get3DENCamera]]
[[get3DENConnections]]
[[get3DENEntityID]]
[[get3DENGrid]] 
[[get3DENIconsVisible]]
[[get3DENLinesVisible]]
[[get3DENSelected]]
[[is3DEN]]
[[is3DENMultiplayer]]
[[move3DENCamera]]
[[remove3DENConnection]]
[[remove3DENEventHandler]]
[[removeAll3DENEventHandlers]]
[[set3DENAttributes]]
[[set3DENGrid]]
[[set3DENIconsVisible]]
[[set3DENLinesVisible]]
[[set3DENObjectType]]
|SEEALSO=
}}


<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 23: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