anim

Overview

This trigger fires an event whenever the target's currently played motion reaches a tagged frame.

For example, a motion has a tag called "step_right" on the 34th frame. Whenever the target of the anim event trigger plays that motion, the trigger will fire an event on the corresponding frame. This trigger is especially useful for synchronizing animation and sound and/or synchronizing several animations.

Inputs

activateActivates the trigger.
deactivate

Deactivates the trigger.

Outputs

Event

An event is fired from this output whenever the block is triggered.

Refs

Target

The object that plays the animation with tags that we need to monitor.

Properties

Event

The name of the anim event in the target that will fire the trigger. You can view and edit anim tags on any given motion using the Model Editor tool.

Usage examples

For example, you want an NPC to open a door with an animation.

1. You should tag the NPC model and the door open animation, and place them on the level. Select the door open animation as the Startup Animation for the NPC entity.

2. Place the model of the door with the open animation on the level.

3. Create a VS for the door with a trigger/entity/anim block. Pay attention to the field event, it should be the same as the tag from step 1. You can use the field List with button Select to choose the proper tag. Also, don't forget to link the target's pin to its entities.

4. Align the position of the NPC and the door. Check the result by pressing Simulate or To Game.

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