• Hi Guest!

    We are extremely excited to announce the release of our first Beta for VaM2, the next generation of Virt-A-Mate which is currently in development.
    To participate in the Beta, a subscription to the Entertainer or Creator Tier is required. Once subscribed, download instructions can be found here.

    Click here for information and guides regarding the VaM2 beta. Join our Discord server for more announcements and community discussion about VaM2.

Question There is indicator who can trigger something on a slider when it's 0 and when it's 1?

Waslikethem

Active member
Joined
Feb 22, 2023
Messages
117
Reactions
33
I'm looking for an indicator that will trigger plugins when slider value is 0 or 1
 
As usual...LogicBricks will do the trick. You could use a ValueThreshold brick:
  • Connect your slider to the Value field of the plugin
  • To trigger at reaching 0:
    • Threshold Value = 0.0 and Threshold Direction = "DOWN"
  • To trigger at reaching 1:
    • Threshold Value = 1.0 and Threshold Direction = "UP"
  • Setup "Actions OnTrigger" to whatever you want to trigger...
1678627682000.png
1678627698537.png
 
Upvote 0
As usual...LogicBricks will do the trick. You could use a ValueThreshold brick:
  • Connect your slider to the Value field of the plugin
  • To trigger at reaching 0:
    • Threshold Value = 0.0 and Threshold Direction = "DOWN"
  • To trigger at reaching 1:
    • Threshold Value = 1.0 and Threshold Direction = "UP"
  • Setup "Actions OnTrigger" to whatever you want to trigger...
View attachment 222333View attachment 222334
I've created an orgasm trigger (which is working perfect) at:
  • To trigger at reaching 1:
    • Threshold Value = 1.0 and Threshold Direction = "UP"
Now i wanted more complex stuff, i made 3 Theresold values plugins inside my slider that will have 3 indicators:
One for the climax which is working fine as i explained above, Second to the 0.49 threshold with direction for DOWN for Gentle,
And Third one for the 0.50 threshold with direction UP for Hard.

Only the first one is working with the climax, value 1 threshold with direction UP.
I don't know why the other ones just don't work.
Maybe you have another solution for me?
 
Upvote 0
Sounds like that should just work. Maybe attach your scene here? (just drag&drop the JSON file here, it will auto-upload)
 
Upvote 0
my scene is huge
Look at the Indicator Slider, i named it "Thrust" you will see inside it the plugins and should do some manipulations on the person plugins
Valentina Nappi.jpg
 

Attachments

  • Valentina Nappi.json
    858.2 KB · Views: 0
Upvote 0
It seems to me the "Gentle" and "Hard" ValueThreshold instances are not getting set from anywhere? Only the "Orgasm" one is set directly from the slider.
 
Upvote 0
The ValueThreshold does not know or care that you placed it on a UISlider. It only checks its own "Value" parameter. So you need to connect the UISlider with the plugin via a trigger that changes the value. Just like you did it for the Orgasm one.
 
Upvote 0
The ValueThreshold does not know or care that you placed it on a UISlider. It only checks its own "Value" parameter. So you need to connect the UISlider with the plugin via a trigger that changes the value. Just like you did it for the Orgasm one.
thanks, it's working now
 
Upvote 0
Back
Top Bottom