attach vs

Overview

Attaches a Visual Script to the target object. You can select which script to attach in the properties. Don't leave the 'name' property empty, otherwise it won't work. 

Inputs

activateAdds a vs-ref.
deactivateRemoves a vs-ref.


Outputs

finishSignals when the ref is attached (! not detached).

One should use the "finish" pin carefully. It produces a signal when the ref is attached but that doesn't mean the vs-ref is already active: the script requires one more linked frame in order to start working.


Refs

targetTarget objects.


Properties

NameString id.
Disable Qsave

Disables quick-save for the attached ref.

VSScript name.

Also can contain exposed properties of the ref attached.

Usage examples

While the game is loading, we detach selected old scripts and attach the new one  water_death.

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