toggle

Overview

This action is used to toggle lamps on or off. It can also be used to toggle other objects like particles and NPCs.

Inputs

  • Activate

Toggle the object ON.

  • Deactivate

Toggle the object OFF.

  • Toggle

Flip the state of the object (i.e. if it was on, it will be turned off and vice versa).

Outputs

  • Finish

This event is fired after the state of the object is toggled (i.e. right after toggle, activate or deactivate is complete).

Refs

  • Target

The object to be toggled. This can be a reference or a name of a lamp or another supported object type.

Properties

  • N/A

See also


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