collect3DENHistory: Difference between revisions
Jump to navigation
Jump to search
m (Bot: Reverted to revision 97387 by Ffur2007slx2 5 on 2016-09-18T12:00:47Z) |
m (template:command argument fix) |
||
Line 11: | Line 11: | ||
| '''collect3DENHistory''' code |= Syntax | | '''collect3DENHistory''' code |= Syntax | ||
|p1= code: [[Code]] |= | |p1= code: [[Code]] |PARAMETER1= | ||
| [[Nothing]] |= | | [[Nothing]] |RETURNVALUE= | ||
|x1= <code>collect3DENHistory { | |x1= <code>collect3DENHistory { | ||
Line 19: | Line 19: | ||
};</code> | };</code> | ||
Creates a logic and connects it to player in one history step. | Creates a logic and connects it to player in one history step. | ||
|= | |EXAMPLE1= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Line 31: | Line 31: | ||
[[set3DENAttributes]] | [[set3DENAttributes]] | ||
[[set3DENObjectType]] | [[set3DENObjectType]] | ||
|= | |SEEALSO= | ||
| |= | | |MPBEHAVIOUR= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
}} | }} |
Revision as of 10:29, 7 April 2019
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.
- Groups:
- Uncategorised
Syntax
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
- See also:
- add3DENConnection create3DENComposition create3DENEntity delete3DENEntities do3DENAction remove3DENConnection set3DENAttributes set3DENObjectType
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
Notes