sequential-ness
Village Idiot
Member, PRO Posts: 486
Hi y'all..
So I'm trying to have this happen: player receives a bonus if they hit the same target three times in a row. For example: there are five targets called "Target A" "Target B" etc. They get a point for each of them. But if the player hits three "Target A" 's in row, they receive double points. Anyone know whether this can be done?
Comments
When player hits A
-- XA + 1
-- XB = 0
-- XC = 0
--When XA = 3
----Increase points by 2
----XA = 0
--Otherwise
----Increase points by 1
When player hits B
-- XA = 0
-- XB + 1
-- XC = 0
--When XB= 3
----Increase points by 2
----XB = 0
--Otherwise
----Increase points by 1
When player hits C
-- XA = 0
-- XB = 0
-- XC + 1
--When XC = 3
----Increase points by 2
----XC = 0
--Otherwise
----Increase points by 1
Thanks @Socks .. I know this adds to my list of stupid questions.. but.. what does the X stand for?
X is for 'Xylidic'
(An acid derived from xylic acid or related compounds)
@Socks I'm guessing that my question was really stupid
Not at all !
It's just a random letter !!
@Socks .. Thanks, you are kind to me. I'm struggling (of course) with how to apply what you've done. Would it be with the expression editor?
Something like this?
✮ FREE templates at GSinvention ✮
✮ Available for hire! support@gsinvention.com ✮
@-Timo- I think, yes. I'm really grateful for that. I'm also disappointed that after using GS for I think 4 years now, that I can't work this stuff out yet. My feebleness of mind is so lame. Thanks, I shall now try and digest what you've done.
I've been here for 5 years or more, I think , and I would have struggled to work that out by myself. That's the best thing about GS Forum, ask an intelligent question and someone will step up and help out.