clone


Overview

Clones an object.

Inputs

activateCreates a clone in the position pos from a source src. If a parent is selected, the clone will attach to the parent.

Outputs

okFires an event when the cloning is complete.
failFires an event, if pos and scr aren't valid.
cloned

Fires an event when the cloning is complete (delay after execution ok).

Refs Inputs

srcThe source of cloning. What is cloned.
posThe place of cloning. Where is cloned.
parent

The entity which will be the parent of the clone. Optional.

Refs Outputs

ref last

A link to the last clone.

ref All

Links to all cloned objects. The maximum number is Max Saved Cloned.

ref Last Zone

Returns the ref last.

Properties

Cover Reuse Delay

The time during which the cover is considered used from the moment of cloning.

CountHow many objects to clone at one time? If you use the switch logic for objects pos, keep this at 1.
TagTags that will be attached to the clone.
SourceOutdated.
PositionOutdated.
Max Saved Cloned

The number of clones. You can get the links via ref all. If the count is more than Max, then the link to the first element is deleted, and instead the link will be added to the new element.

Shortcuts

  • N\A

See also


On this page:




Exodus SDK © 2005-2023, 4A Games Limited. Developed by 4A Games®.
4A Games® is a registered trademark, and 4A Games Limited, Exodus SDK and their respective logos are trademarks of 4A Games Limited.
Published by Deep Silver. Deep Silver is a division of PLAION GmbH, Austria. Deep Silver and Plaion are registered trademarks of PLAION GmbH.
Metro Exodus is inspired by the internationally best-selling novels METRO 2033 and METRO 2034 by Dmitry Glukhovsky.
All other trademarks, logos and copyrights are property of their respective owners. All rights reserved.
By using this site, downloading or using the Exodus SDK or related content, you are agreeing to be bound by the terms of the End User License Agreement.


EULA