• Hello Guest!

    We have recently updated our Site Policies regarding the use of Non Commercial content within Paid Content posts. Please read the new policy here.

    An offical announcement about this new policy can be read on our Discord.

    ~The VaMHub Moderation Team
  • Hello Guest!

    We posted an announcment regarding upcoming changes to Paid Content submissions.

    Please see this thread for more information.

Conditional Actions

Plugins Conditional Actions v2.6

If you have questions, want to report a bug or share ideas, you can join my discord: https://discord.gg/h7pmF96JMZ
If you like my work, you can support me on Patreon, i post new content all the time!

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
219,253
Views
219,253
First release
Last update
Rating
5.00 star(s) 5 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

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