• Happy Holidays Guest!

    We want to announce that we will be working at reduced staffing for the holidays. Specifically Monday the 23rd until Jan 2nd.

    This will affect approval queue times and responses to support tickets. Please adjust your plans accordingly and enjoy yourselves this holiday season!

  • Hi Guest!

    Please be aware that we have released a critical security patch for VaM. We strongly recommend updating to version 1.22.0.7 using the VaM_Updater found in your installation folder.

    Details about the security patch can be found here.
Conditional Actions

Plugins Conditional Actions

Small plugin that helps you create conditional gameplay by creating actions that will automatically trigger based on a set of condition.

If you have any condition types that you would like to see implemented, drop a message here or on discord!


How the script works:

The script will check if all the conditions are met, and if so, fire the trigger action. Then it will check each condition to see if it can reset. A condition can reset when it's false, except if you uncheck the "UseForResetCheck" toggle. If you activate the "OneConditionReset" it will only need one condition to be false to reset the trigger. And if you activate the "OneConditionTrigger" it will only need on condition to fire the trigger.

Current Conditions Types:

Compare Floats: Compare a float value from anywhere in the scene with a static value. Comparison types: Greater (>) Smaller (<) Greater or equal (>=) Smaller or equal (<=) Equal (==) Different (!=)

Compare Booleans: Check if a Boolean value from the scene is true or false.

Compare Distance: Compare the distance between two atom controllers with a static value. Comparison types: Greater (>) Smaller (<) Greater or equal (>=) Smaller or equal (<=)

Compare Rotation: Compare the rotation between two atom controllers.

Keyboard Action: Check if a keyboard key is pressed/down/up.

Mouse Action: Check for mouse buttons, or mouse movement.

Controller Action: Check for buttons from any unity compatible controller (joystick/gamepad).

VR Check: Check if the game is in VR or Desktop mode.

Timer: A simple timer returning true every x seconds. Can loop or fire once.

CheckIfGrabbed: Check if a target controller is currently grabbed/not grabbed, has just been grabbed or just been released.
Author
JaxZoa
Downloads
293,668
Views
293,668
Favorites
4
Packages
1
Total Size
0.02 MB
Version
v2.6
First release
Last update
Rating
4.83 star(s) 6 ratings

More resources from JaxZoa

Latest updates

  1. 2.6

    Few bug fixes
  2. 2.5

    - Fixed a few things
  3. 2.4

    - Added a new toggle to change the reset behaviour.

Latest reviews

I really like this plugin but I have a suggestion:

Have a toggle to enable or disable the plugin running. It basically runs at all times and sometimes I don't want that.

Also, this plugin does not work when it is part of a subscene and you load that subscene into the scene. The only way to get it to work is to completely rebuild the setup of the plugin which is not good.
Upvote 0
Works really great. Using it in all my current projects and updating old scenes with it. Thank you so much for sharing
Upvote 0
D
This is awseome, thanks for making and sharing it!
Upvote 0
WoW, good to use. THX a Lot.
Upvote 0
Dude!
Upvote 0
ooooo! This is exciting, seen other plugins like this but this is very neat and understandable, I'd much rather use this if it gets more options but in this clean format. Thank you!
JaxZoa
JaxZoa
Nice! If you have a request for new condition types, drop a message!
Upvote 0
Back
Top Bottom