activate-deactivate
Overview
This block activates or deactivates entities. You can use it to disable all AI logic of your NPCs. An inactive NPC will not play any animations or react in any way to the player's actions. It will be effectively frozen. Inactive NPCs also don't take damage. When you deactivate an NPC, all its scripted tasks are interrupted. This means that if an NPC was running a patrol path, it won't resume playing it after you reactivate it. Things like AI follow and group leader are also cancelled, so you have to reset them manually when you re-enable an NPC.
Inputs
- Activate
Activates the action. Depending on whether the register property is set to true or false, it will activate or deactivate the target.
Outputs
- Finish
Fires an event after the target has been activated or deactivated.
Refs
- Target
The NPC/s to activate or deactivate.
Properties
- Register
Depending on whether this property is on or off, the block will activate or deactivate the target.
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.