|
Post by kas29 on Mar 21, 2014 4:47:04 GMT
Hello! Guys is it possible to reset the result SHOWSCORE - 000200 to 0? Something does not work...
|
|
|
Post by lukebord1 on Mar 21, 2014 17:29:16 GMT
What do you mean? The score display length? Or the math value? Effectively, the SCORE default variable seems to reset only at game restart, and accepts 0-255 values to sum... maybe you can use a custom variable (A to P general variables) and use it as a SCORE value?
|
|
|
Post by kas29 on Mar 22, 2014 3:10:15 GMT
The value. For example: I scored 005200 points, and after the death of the main character I need to reset it all up 000000... With normal variables, it is easy, but there's a limit to 255. And now I decided to use these commands SCORE, SHOWSCORE... and got stuck. Hmm.. If this value cannot be reset, what's the point in it...
Thanks lukebord1 for the help!
|
|
|
Post by lukebord1 on Mar 22, 2014 9:17:28 GMT
Obviously it could be useful a specific reset command from Jonathan...
Meanwhile, the only solution it's to set TWO variables for a maximum "255.255" score value, and display both of them.
I think a complication will occur when the tens will change to hundreds, so we'll need to change the COLUMNs display values!
Supposing to have a "50" step scoring, we'll have something like this:
(code section where we sum 50 to custom score variables, in this example "B.A" as "xxx.xxx") IF A <= 200 ADD 50 TO A ELSE IF B <= 254 ADD 1 TO B LET A = 0 ENDIF ENDIF
And then the LET LINE/LET COLUMN/DISPLAY stuff... I know, a real waste of code lines!
|
|
|
Post by lukebord1 on Mar 22, 2014 13:21:30 GMT
Forget it: there's no sense to jump from 255 to 0... hundreds cannot reach "999" so the above idea cannot be a solution.
|
|
|
Post by kas29 on Mar 23, 2014 1:12:10 GMT
Forget it: there's no sense to jump from 255 to 0... hundreds cannot reach "999" so the above idea cannot be a solution. Thanks lukebord1, I know that will not work...
|
|
|
Post by Jonathan Cauldwell on Mar 23, 2014 11:56:37 GMT
|
|
|
Post by kas29 on Mar 23, 2014 13:13:18 GMT
Something I missed this post... Yes, it works. What I needed! Thank You Jonathan!
|
|
|
Post by kas29 on Mar 23, 2014 13:31:29 GMT
Jonathan, maybe in the next update AGD, will be further implemented reset, and reduce bills using teams to SCORE? Sometimes it is necessary to reduce bills, not a full reset to zero.
|
|