Conditional Input Creative Device
Conditional Input Creative Device
Your Price
Suggested
Minimum Price:
Maximum Price:
Couldn't load pickup availability
Downloadable files along with this product
No files to download
Details
Make a key press work only while the player holds a particular item. The Conditional Input Creative Device registers players on an Input Trigger while they hold the item set on a Conditional Button, and unregisters them the moment they switch away.
Perfect for: abilities tied to a weapon or tool, role-based inputs, item-gated interactions and controls that should only exist while something is equipped.
What Problem It Solves
- An Input Trigger fires for every registered player, with no way to check what they are holding.
- You want the input to appear and disappear automatically as items are picked up, dropped or swapped.
How It Works
The device runs a loop at Update Rate, 0.1 seconds by default. Each tick it checks every participant against the Conditional Button's item test. Players holding the item are registered on the Input Trigger; everyone else is unregistered. The Input Trigger then handles the key binding and fires whatever you connect to it.
Setup
- Copy
conditional_input_device.verseinto your project and run Verse > Build Verse Code. - Place a Conditional Button and set its Key Item 1 to the item that enables the input.
- Place an Input Trigger and choose the key or button players will press.
- Place the Conditional Input device and link both devices in its Details panel.
- Connect the Input Trigger's output to the devices that should react.
Settings
- Conditional Button: defines the item players must hold.
- Input Trigger: the input players are registered on.
- Update Rate: seconds between checks. Default 0.1.
Project Outline
Content/ ├── conditional_input_device.verse └── README.md
Frequently Asked Questions
What does Conditional Input do?
It watches every player and, while they hold the item set on a Conditional Button, registers them on an Input Trigger. When they drop or switch away from the item they are unregistered, so the input only works while the item is held.
What would I use it for?
A custom key binding that only works while the player holds a particular weapon or item. The Input Trigger fires the key press and this device decides who is allowed to use it at any moment.
How do I set it up?
Copy the file into your project, build Verse code, place the device and assign your Conditional Button (with its Key Item chosen) and your Input Trigger. Update Rate controls how often it checks, 0.1 seconds by default.
Does it need UEFN?
Yes. It is a Verse device and relies on the Input Trigger device, so it is built and placed in UEFN.
NOTE: This device is provided free of charge. The code is provided as is; updates and bug fixes may be released but are not guaranteed.
Share
