Snoop animations center

  • #1, by pinsMonday, 24. April 2017, 19:43 8 years ago
    Hey everyone!

    I'm trying to fix something that has been bothering me for some time now: I'd like the snoop animations to display underneath the characters. At this point, they seem to be always on top and thus overlaying the characters, independently of the object center of the object they're attached to.

    Any idea on how to fix that?
    Cheers!

    Newbie

    66 Posts


  • #2, by sebastianMonday, 24. April 2017, 21:41 8 years ago
    For the snoop animations this is a normal behaviour. They are always on top of everything...

    Propbably you could imitate these by making for every relevant object an animation and have a scene "called by other" action which shows all the hotspots animations and one which hides them. Lets call it "show_hotspot" and "hide_hotspot".

    Then on the hotspot key you could use an execute script action part and use:

    startAction(game.CurrentScene.SceneActions["show_hotspot"]) 
    and when releasing the hotspot key call 

    stopAction(game.CurrentScene.SceneActions["show_hotspot"]) + 
    startAction(game.CurrentScene.SceneActions["hide_hotspot"])


    Thread Captain

    2346 Posts

  • #3, by pinsMonday, 24. April 2017, 22:08 8 years ago
    Hey Sebastian, thanks for the idea!

    I was thinking of something along those lines, trouble is, I've extensively used the snoop system so far (I should have probably thought of implemeting such an idea earlier).
    In the end, if there's no alternative, I guess I'll have to go through every scene and use that method.

    Newbie

    66 Posts