Wie nutze ich die DataStructure? / How to use the DataStructure?

  • #1, by NoComTuesday, 20. May 2014, 16:59 6 years ago
    Hallo Community,
    ich habe mal wieder eine kleine frage:
    wie benutze ich die DataStructure?

    bit.ly/1jRhzID


    z.B. wird mir hier unter Object das Field "ObjectVisibility" wie muss ich diese information nutzen um in Visionair 3.7.1 die transparentz eines objektesmit einem lua-script zu beeinflussen?
    ich habe folgendes versucht:

    function AudioVisible()
    local g_Speech = getVolume(eSpeechVolume)
    local g_Speech_vis = getObject('Scenes[Optionen].SceneObjects[Button_speech_loud_'..g_Speech.. '].ObjectVisibility')
    if g_Speech_vis then
    g_Speech_vis:setValue(VValueInt, 50)
    end
    end
    1
    2
    3
    4
    5
    6
    7


    MfG,
    NoComm

    Hello Community,
    i have a little question:
    How do i use the DataStructure?

    bit.ly/1jRhzID


    e.g. you can read in the subcategory "Object" the Field "ObjectVisibility". How can i use this information in visionair 3.7.1 to influence the transparency of an object with a lualscript?
    i tried the following script:

    function AudioVisible()
    local g_Speech = getVolume(eSpeechVolume)
    local g_Speech_vis = getObject('Scenes[Optionen].SceneObjects[Button_speech_loud_'..g_Speech.. '].ObjectVisibility')
    if g_Speech_vis then
    g_Speech_vis:setValue(VValueInt, 50)
    end
    end
    1
    2
    3
    4
    5
    6
    7


    Best Regards,
    NoComm

    Newbie

    24 Posts


Write post