active weapon

Overview

Allows you to target an active weapon of an NPC or player.

Inputs

InReturns the active weapon.

Outputs

  • N\A

Refs

npcIf linked, this specifies the NPC's active weapon. If empty, it targets the player's weapon.

Properties

+device?If enabled, this checks for primary, secondary, and two-handed weapons. If disabled, it checks for primary and secondary weapons.

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