generic

Overview

This block is triggered when the entity on the ref Target is entering or leaving the restrictor with the type of zone specified in the trigger. If no entity is chosen, this will apply to all entities on the level.

Inputs

activateActivates the trigger.
deactivateDeactivates the trigger.
check

Checks, if the object referenced by the Target output is in a restrictor while taking into account the Zone Type.

Outputs

Enter

Fires an event when the target is entering the restrictor.

Leave

Fires an event when the target is leaving the restrictor.

Refs

ref LastReturns the last object in the restrictor, taking into account the Zone Type.
ref AllReturns the last Max Refs objects in the restrictor, taking into account the Zone Type.
ref Last ZoneReturns the last restrictor that the object was inside.
Target EntityAn entire object for which the restriction inputs/outputs will be tracked. If the object isn't specified, the block will work for all objects io the level.

Properties

Active?Is the block active?
Event CountThe count of triggered events in this block. -1  unlimited count of triggered events.
Active on load

Whether this trigger will work if, at the start of the level, the Target was already inside a suitable restrictor.

Zone TypeA list of all restrictor types which are tracked by in/out of the target (if no target is chosen, this applies to any entity on the level).
Max RefsMaximum count of saving entities inside the restrictor. Works with the input Ref All.
Nested enterAllows the trigger to fire, if an object is entering a new restrictor while also remaining inside the old restrictor. If this is disabled, it will trigger only when entering the outermost restrictor.
Nested leaveThe same as Nested enter but for the output. If disabled, it will trigger only when leaving the outermost restrictor.

Usage examples

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