purge slot

Overview

You can remove an item from the player's inventory using this block. For example, if you don't want the player to have binoculars or NV goggles at the start of the level. The removed items won't show up in weapon pop-ups and other UI elements.

Inputs

  • Activate

Activates the block.

  • ref

You can reference this block using this input. For example, if you removed the player's NV goggles at some point using this block, you can give them back to the player by using trade/take item with it's target set to this block's ref. Note that in order to be able to use this reference, you first have to activate the block.

Outputs

  • Finished

This event is fired after the slot has been purged, either successfully or not.

  • Success

This event is fired, if the slot has been purged successfully.

  • Failed

This event is fired, if the slot couldn't be purged successfully (for example, if it was already empty).

Refs

  • Destination
  • Player

Properties

  • Slot

An inventory slot to purge.

  • Counter

How many items to remove.

  • Unload magazine?
  • Attach to entity

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