do3DENAction: Difference between revisions
Lou Montana (talk | contribs) m (Text replacement - "\[\[[Cc]ategory:[ _]?Arma[ _]3:[ _]([^|]*)[ _]?\|.*\]\]" to "{{GameCategory|arma3|$1}}") |
(added 2.22 changes) |
||
| (26 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
{{ | {{RV|type=command | ||
|arma3| | |game1= arma3 | ||
|version1= 1.56 | |||
| | |gr1= Eden Editor | ||
| | |descr= Performs given [[Eden Editor: Actions|Eden Editor action]]. | ||
{{Feature|warning| | |||
Prior to {{GVI|arma3|2.12|size= 0.75}} it was possible to use this command outside of [[:Category:Eden Editor|Eden Editor]].<br> | |||
For example <sqf inline>do3DENAction "MissionSave";</sqf> would wipe the [[mission.sqm]] without a way to restore it when executed accidentally during preview. | |||
}} | |||
|s1= [[do3DENAction]] action | |||
|p1= action: [[String]] - see [[Eden Editor: Actions]] | |||
| | |r1= [[Nothing]] | ||
| | |s2since= arma3 2.22 | ||
| [[ | |s2= [[do3DENAction]] [action, argument] | ||
| | |p21= action: [[String]] - see [[Eden Editor: Actions]] | ||
| | |p22= argument: [[Anything]] - depends on the used [[Eden Editor: Actions|action]] | ||
[[ | |||
| | |r2= [[Nothing]] | ||
| | |||
|x1= <sqf>do3DENAction "MissionSave";</sqf> | |||
< | |x2= <sqf> | ||
// Since 2.22 | |||
private _par = createHashMap; | |||
_par set ["name", "testfile"]; | |||
_par set ["folder", "subfolder"]; | |||
_par set ["content", "R3voing"]; | |||
do3DENAction ["CreateTextFile", _par]; | |||
</sqf> | |||
|seealso= [[get3DENActionState]] | |||
}} | |||
[[ | |||
Latest revision as of 16:10, 20 March 2026
Description
- Description:
- Performs given Eden Editor action.
- Groups:
- Eden Editor
Syntax
- Syntax:
- do3DENAction action
- Parameters:
- action: String - see Eden Editor: Actions
- Return Value:
- Nothing
Alternative Syntax
- Syntax:
- do3DENAction [action, argument]
- Parameters:
- action: String - see Eden Editor: Actions
- argument: Anything - depends on the used action
- Return Value:
- Nothing
Examples
- Example 1:
- do3DENAction "MissionSave";
- Example 2:
Additional Information
- See also:
- get3DENActionState
Notes
-
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord.
Only post proven facts here! Add Note