Visual Script (Object)
A VS is an object that can only contain code. This is useful for containing all code needed for a specific action or trigger. Even for an entire level (although that's not recommended).
Place them at a visible relevant location with an appropriately descriptive name.
For example, a VS object with code for opening a door when a switch is activated could be placed near the switch with the name "vs_doorswitch".
For more information on VS, visit the Visual Script Documentation.
Placement and Setup:
There are several ways to add a VS on the level:
- Look for General → Visual Script in the Entities Toolbar.
- Look for Visual Script in the Entity List Window.
- By using the Shortcut "S+LMB".
The VS should look like a blue transparent cube on the scene. If it has any code, a pen/paper icon will appear on its top.
While the VS doesn't have any specific properties visible in the Properties Window, here you can see some good practices:
- Name it properly (recommended: vs_nameofthescript).
- Place it at a visible and relevant location.
- In the Object List Window, you can see that if the VS is blue, there is code attached to it, otherwise the VS is empty and can be safely deleted.
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.