collect3DENHistory

From Bohemia Interactive Community
Jump to: navigation, search
Introduced with Arma 3 version 1.56
  

Click on the images for descriptions

Introduced in

Game:
Arma 3
Version:
1.56

Description

Description:
Execute a block of code in which all Eden Editor operations will be recorded as one history step. For example creating an entity, setting its attributes and then connections would normally be recorded as three different steps. Calling them all within single collect3DENHistory block will group them together and the user will need to undo only once to revert the changes.

Syntax

Syntax:
collect3DENHistory code
Parameters:
code: Code
Return Value:
Nothing

Examples

Example 1:
collect3DENHistory { _logic = create3DENEntity ["Logic", "Logic", position player]; add3DENConnection ["Sync", [_logic], player ]; }; Creates a logic and connects it to player in one history step.

Additional Information

Multiplayer:
-
See also:
add3DENConnection

create3DENComposition create3DENEntity delete3DENEntities do3DENAction remove3DENConnection set3DENAttributes

set3DENObjectType

Notes

Only post proven facts here. Report bugs on the feedback tracker. Use the talk page or the forums for discussions.
Add New Note | How To

Notes


Bottom Section