- Marketplace Link
- https://marketplace.online-leaks.com/product/variable-access-library
This Plugin is fully functioning in UE5 EA. Unfortunately I cannot set it live for this engine version. Simply copy over the plugin folder and rebuild the project from source.
NOTE: I am working on a usage video . A Documentation and Example Project are available!
UPDATES
V 1.3 (current version, released July 10th 2021):
-added Plugin Settings in Project Settings>Plugins>VariableAccess
- added 2 bools to enable/disable Print to Log or Print to Screen for all functions
V 1.2 (released May 28th 2021):
-10 new functions supporting new variable types:
- Int64
- Objects
- Vector 2d
- IntPoint
- IntVector
-Updating API to new API for 4.25+ (will remove warnings if compiled by source)
V 1.1 (Released May 13th 2021):
12 new functions supporting new variable types:
- Name
- Text
- String
- Rotator
- Transform
- LinearColor
DESCRIPTION
The library will help you to access variables (listed supported types only) of any actor anywhere in your code by searching for the variable name. The bool return value can be used to check if the desired variable exists.
All functions are widely accessible (in C++ and blueprint)and support also replicated variables.
For calculations with Int & Float by name, functions like Add, Multiply & Divide will help to keep your code clean and accessible.
Set & Math Functions return the new value for easier and cleaner node construction.
PLANNED FEATURES
Transform
- Set Location of Transform
- Set Rotation of Transform
- Set Scale of Transform
Wildcard
- Set Wildcard Variable [WIP]
- Get (Wildcard) Array (WIP)
- Set (Wildcard) Array (WIP)
- Add/Add Unique to (Wildcard) Array (WIP)
- Remove from (Wildcard) Array (WIP)
I will support older engine versions if requested.
Technical Details
Features:- V1.3: Plugin Settings under ProjectSettings>Plugins>VariableAccess to toggle global debugging (print to log/screen) for easier debugging (displaying the Actor the function is triggered from and/or the name of the variable which couldn't be found)
- V1.2: Add Support for Int64, Vector2d, IntVector, IntPoint, Object
- V1.1: Add Support for Transform, Rotator, LinearColor, Name, Text, String
- V1.0: Support Bool, Byte, Float, Int, Vector
- Access Variables of any actor, anywhere, by its name
- Check if desired variables exist (bool return result)
- Set/Get Functions of all the above supported variable types
- Scale Vector Function
- Math Functions for Float & Int
- Replicated Variables supported!
Code Modules:
- VariableAccessLib (Runtime)
Number of Blueprint Nodes: 42
Number of C++ Classes: 3 [VariableAccessFuncLib, VariableAccessSettings, VariablesAccessLogging]
Network Replicated: Functions are not replicated but can be called on Server or Client for replicated variables.
Supported Development Platforms: PC (Win,Mac)
Supported Target Build Platforms: Any
Documentation: Documention (WIP)
Example Project: 4.26
Important/Additional Notes: I will support older engine versions if requested.