[Solved] Adding together of attributes

bubblegmkdbubblegmkd Member Posts: 12
edited March 2015 in Working with GS (Mac)

I'm trying to add three attributes together to get a total ..... distance modifier + speed modifier + to hit modifier = modifier total. I've tried change attribute, but that's not working wondering what I'm missing.

Comments

  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949
    edited March 2015

    Are you selecting all four attributes from the Attribute Browser drop-down menu? Typing their names in won't work.

    How do you know it's not working? What are you seeing? What happens when you use a single attribute? Two attributes (e.g. distance modifier + speed modifier)?

    Are you using a Display Text behavior that is not inside a rule to test this? If not, what happens when you do?

  • bubblegmkdbubblegmkd Member Posts: 12

    I am selecting all four from drop down menu. I'm using display text to see results and using input text on the first three modifiers to input an integer. Whether I use a single or two or three I'm not getting any value change in the modifier total it just stays at 0. It's not in a rule....what rule do you suggest to place in?

  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949

    Can you post a link to download the project file (compress it as a .zip file and upload it to a file-sharing site first)?

    If you're using Display Text, you don't need a rule/condition. My guess is there's a problem with your Keyboard Input behaviors. What happens if you manually set the value of the three attributes before previewing the scene? Do you see the correct sum?

  • bubblegmkdbubblegmkd Member Posts: 12

    When I manually set I do correct sum.

  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949

    Well then your culprit is Keyboard Input. ;)

  • bubblegmkdbubblegmkd Member Posts: 12

    here is the project

  • bubblegmkdbubblegmkd Member Posts: 12

    Sorry didn't attach

  • bubblegmkdbubblegmkd Member Posts: 12

    Figured it out....should have been using "constrain attribute" behavior

Sign In or Register to comment.