• Hi Guest!

    We have posted a new VaM2 dev log on Patreon, starting a monthly cadence of written progress updates between Beta releases. Highlights include the new Gizmos System, Selection Carousel, and Modes System with Context-Specific Editing. Beta1.2 is 15 of 21 items complete.

    Read the full post on Patreon, or follow progress on the public Trello roadmap.

VaM 1.x Trigger with sliders

Threads regarding the original VaM 1.x

jule7313

New member
Joined
Jul 18, 2023
Messages
9
Reactions
3
Hello everyone, first of all, please excuse my spelling; I'm French and using automatic translation. I'm creating a scene with a character who has needs to be met, a small pet ^^ For example: hunger. I'm using sliders that I'm trying to gradually increase based on a delay or time, and once the gauge is full, I'd like it to trigger an action. For example, a dialogue bubble, an icon, or something else. I don't know how to do this. I've looked, perhaps incorrectly, in tutorials where I got completely lost and gave up. If anyone has any plugins or tips to share, I'd be very grateful.
 
So first, the "slider" is not a trigger ^^

Your slider is a visual representation of a basic value ( let's say a float from 0 to 1 ). Your only concern is making that value update overtime depending on your needs... then, you can give a visual feedback to the player (your slider/gauge or whatever).

Now, several plugins can manage values. Logic Bricks with the ValueThreshold module can be a starting point : )
 
Upvote 0
Merci, c'est pour ça que je n'y arrivais pas ^^ Je devrais m'en passer... Oui, j'ai déjà réussi à faire bouger le curseur en fonction du temps écoulé. Je ne me souviens plus du plugin utilisé, mais il doit sûrement y avoir une solution plus simple. Autre question : quelle méthode de déclenchement utiliser pour remettre le curseur à zéro ? Je n'ai pas encore trouvé. Merci.
 
Upvote 0
Thanks, that's why I couldn't get it to work ^^ I should just do without it... Yes, I've already managed to make the slider move based on the time elapsed. I don't remember which plugin I used, but I think there must be an easier way. Another question: what trigger method should I use to reset the slider to 0? I haven't figured that out either. Thanks.
 
Upvote 0
Back
Top Bottom