• 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.

Question Set and retrieve value

TasteyTreats

New member
Joined
Apr 6, 2024
Messages
8
Reactions
4
Is there any way to use variables that can be set and retrieved globaly in VAM, built in or with a plugin?

I´m trying to build a scene with a bunch of subscenes for various positions, and if when a subscene is loaded it´s the first sexual encounter in a session it should play a certain sample and go in to some teasing before going in to the main action.

I got it to work by using a LogicBrick SelectChoice as a scene plugin, and another one on each subscene, either as a subscene plugin or on a person. When the subscene is loaded it triggers the SelectChoice on the main scene, then that one sets the Choice and trigger the one in the subscene.

It works correctly, but it seems the SelectChoice on the main scene loses the connection when I close the scene or quit VAM. I guess it kinda makes sence if the subscene doesn´t exist when the main scene is first launched?

A simple state function would be very usefull, just a simple variable that can be set or retrieved from anywhere.
 
Solution
Yes, VUML and ActionGrouper is probably what you are looking for, its awesome and does exactly what you need (y)

There's some tools from JayJayWon and Jaxzoa you could check.
 
Upvote 0
Yes, VUML and ActionGrouper is probably what you are looking for, its awesome and does exactly what you need (y)

 
Upvote 1
Solution
Yes, VUML and ActionGrouper is probably what you are looking for, its awesome and does exactly what you need (y)

That is indeed awesome! It seems to be exactly what i was looking for and so much more. Thank you my kind sir!
 
Upvote 0
Back
Top Bottom