Graphics

 View Only
  • 1.  Check crawler child-scene value to trigger scene director in the main Scenegroup

    Posted 03-14-2018 09:13

    I have no idea about coding. This is what I'm trying to do.

    I want to play a SceneDirector in the main SceneGroup. When a text object in child-scene contains value.

    Is there anyway to do that?


    Thank you.



  • 2.  RE: Check crawler child-scene value to trigger scene director in the main Scenegroup

    Posted 03-14-2018 10:42
    Hey,

    Here's a rather ugly template that I made quickly that should point you in the right direction.
    https://www.dropbox.com/s/eg5xb53jlb8sqam/stopstartcrawl.xpp?dl=0
    #XPression


  • 3.  RE: Check crawler child-scene value to trigger scene director in the main Scenegroup

    Posted 03-14-2018 19:55
    Thank you, Red.
    #XPression


  • 4.  RE: Check crawler child-scene value to trigger scene director in the main Scenegroup

    Posted 03-15-2018 06:36
    Red, I read the script. It makes sense but not working. The parent-event doesn't show up when the child-event appears. Please advice.
    #XPression


  • 5.  RE: Check crawler child-scene value to trigger scene director in the main Scenegroup

    Posted 03-15-2018 09:17
    It will only work if the scene is online.
    #XPression


  • 6.  RE: Check crawler child-scene value to trigger scene director in the main Scenegroup

    Posted 03-15-2018 12:02
    Red, it works but it's the other way around. In your sample, the parent scene controls the child scenes. Is it possible to make the child-scenes control the parent scene?
    #XPression


  • 7.  RE: Check crawler child-scene value to trigger scene director in the main Scenegroup

    Posted 03-15-2018 17:10
    I do this for a few scenes and it works well. In an event marker or similar, you can add this to the script:
    dim parentScene as xpScene
    Scene.GetParent(parentScene)

    Now you can access parentScene and use is as you normally would. Change colors, trigger animation controllers and scene directors, anything like that.
    Is this what you are looking to do?

    Hope this helps.
    Mike
    #XPression


  • 8.  RE: Check crawler child-scene value to trigger scene director in the main Scenegroup

    Posted 03-16-2018 03:02
    I do this for a few scenes and it works well. In an event marker or similar, you can add this to the script:
    dim parentScene as xpScene
    Scene.GetParent(parentScene)

    Now you can access parentScene and use is as you normally would. Change colors, trigger animation controllers and scene directors, anything like that.
    Is this what you are looking to do?

    Hope this helps.
    Mike


    Thank you, Mike. It works like magic. Much appreciated!
    #XPression