1. #1

    How can i add up a score in a skill game?

    Hello,

    I would like the score to increase by 1 each time an object hits an area trigger. (Skill game) How can i do this? What triggers and events do i need?

    I have 5 items that need to hit the trigger, and each increases the score by one - i have tried everything but i cant get it to work. :/

    Please help,

    Thanks everyone!
    Share this post

  2. #2

    Re: How can i add up a score in a skill game?

    All Area Triggers point to a single set event

    (set: Increase by 1)

    Point the set event to a variable data source, which starts at 0.

    Point your (primary or secondary) score in track settings to the variable data source.
    Share this post

  3. #3

    Re: How can i add up a score in a skill game?

    Thanks for the response. Tried this and when i select "on hit" it wont let me choose the variable event. I cant select it with anything.

    Which other events can i try or is there some other wayi can get it to add 1 to the score "on hit"
    Share this post

  4. #4

    Re: How can i add up a score in a skill game?

    Originally Posted by Rsu27
    Thanks for the response. Tried this and when i select "on hit" it wont let me choose the variable event. I cant select it with anything.

    Which other events can i try or is there some other wayi can get it to add 1 to the score "on hit"

    What are you trying to point the impulse at? The variable data source?
    Share this post

  5. #5

    Re: How can i add up a score in a skill game?

    Ah sorry, i got it wrong! Thanks for the response its working now!
    Share this post

  6. #6
    Jarr3tt88's Avatar Senior Member
    Join Date
    Jan 2013
    Posts
    3,520

    Re: How can i add up a score in a skill game?

    The on hit needs to go to the increase set event.

    Ninja'd
    Share this post

  7. #7

    Re: How can i add up a score in a skill game?

    Originally Posted by Rsu27
    Ah sorry, i got it wrong! Thanks for the response its working now!
    Glad it's working. Just built it quickly myself, in case you needed some helpful pictures!
    Share this post

  8. #8

    Re: How can i add up a score in a skill game?

    Is there a way to do it without an area trigger? Say if the bike hits an object, that adds to the score? Making area triggers fit around each object is hard and frustrating!

    Tried using a hit trigger but i cant figure out how to set it to the object that gets hit. Im not sure if it works that way.
    Share this post

  9. #9

    Re: How can i add up a score in a skill game?

    Originally Posted by Rsu27
    Is there a way to do it without an area trigger? Say if the bike hits an object, that adds to the score? Making area triggers fit around each object is hard and frustrating!

    Tried using a hit trigger but i cant figure out how to set it to the object that gets hit. Im not sure if it works that way.
    Hit trigger
    Hitting objects 1 -> bike and rider, include
    Hitting objects 2 -> select object instances -> your object that scores.
    Share this post

  10. #10

    Re: How can i add up a score in a skill game?

    Working perfectly now thank you! I am about to upload it to track central, if you want to have a look its called bowling alley
    Share this post