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

Can't replicate Saving triggers sometimes get saved with wrong path, causing errors in scene.

bill_prime

Well-known member
Featured Contributor
Joined
Feb 24, 2021
Messages
439
Solutions
3
Reactions
1,922
I have this error pop up quite often, usually when saving a preset for a Empty atom and a Person atom.
In this example I created 2 LoadPresetWithPath triggers, one that loads an Empty atom preset and another that loads a Person clothing preset.
What happens is it saves the EmptyAtom path into the Person ClothingPreset trigger, which causes the error.
See the json below of the triggers, the first one is trying to load an Empty atom preset into a Person ClothingPreset.
I was trying to save the path "Custom/Atom/Person/Clothing/bill_prime/ClothingStripper/Preset_Outfit01.vap"
Maybe because the .vap file name is the same?

JSON:
 {
    "name" : "A_LoadPresetWithPath",
    "receiverAtom" : "Person",
    "receiver" : "ClothingPresets",
    "receiverTargetName" : "LoadPresetWithPath",
    "presetFilePath" : "Custom/Atom/Empty/ClothingStripper/Preset_Outfit01.vap"
},
{
    "name" : "A_LoadPresetWithPath",
    "receiverAtom" : "GirlControls/_ClothingStripper",
    "receiver" : "Preset",
    "receiverTargetName" : "LoadPresetWithPath",
    "presetFilePath" : "Custom/Atom/Empty/ClothingStripper/Preset_Outfit01.vap"
}
 
I just made a test of this and I'm unable to replicate.

JSON:
            {
               "id" : "Trigger",
               "trigger" : {
                  "displayName" : "A_LoadPresetWithPath",
                  "startActions" : [
                     {
                        "name" : "A_LoadPresetWithPath",
                        "receiverAtom" : "Cube",
                        "receiver" : "Preset",
                        "receiverTargetName" : "LoadPresetWithPath",
                        "presetFilePath" : "Custom/Atom/Cube/Preset_Red.vap"
                     },
                     {
                        "name" : "A_LoadPresetWithPath",
                        "receiverAtom" : "Sphere",
                        "receiver" : "Preset",
                        "receiverTargetName" : "LoadPresetWithPath",
                        "presetFilePath" : "Custom/Atom/Sphere/Preset_Red.vap"
                     }
                  ],
                  "transitionActions" : [
                  ],
                  "endActions" : [
                  ]
               }
            },
 
I just made a test of this and I'm unable to replicate.

JSON:
            {
               "id" : "Trigger",
               "trigger" : {
                  "displayName" : "A_LoadPresetWithPath",
                  "startActions" : [
                     {
                        "name" : "A_LoadPresetWithPath",
                        "receiverAtom" : "Cube",
                        "receiver" : "Preset",
                        "receiverTargetName" : "LoadPresetWithPath",
                        "presetFilePath" : "Custom/Atom/Cube/Preset_Red.vap"
                     },
                     {
                        "name" : "A_LoadPresetWithPath",
                        "receiverAtom" : "Sphere",
                        "receiver" : "Preset",
                        "receiverTargetName" : "LoadPresetWithPath",
                        "presetFilePath" : "Custom/Atom/Sphere/Preset_Red.vap"
                     }
                  ],
                  "transitionActions" : [
                  ],
                  "endActions" : [
                  ]
               }
            },

Well, I knew it would be a strange one. Thanks for checking.
I didn't have the issue consistently anyway.
 
Back
Top Bottom