Code: Select all
if _overDriveBonus is an integer then #do somethingCraig
Moderators: Klaus, FourthWorld, heatherlaine, kevinmiller
Code: Select all
if _overDriveBonus is an integer then #do somethingIs asking for a LITTLE info (where to click and where to look etc.) too much?Samuele wrote: Thu Jan 27, 2022 6:19 pm alright, i figured i'd share only the inherent parts of my stack:
OverDriveBonus.zip
Code: Select all
on UpdateOverDriveClickBonus
add 1 to _sessionClicks
set the thumbPosition of scrollbar "ProgressOverDrive" to _sessionClicks
...Code: Select all
on ShowBetterOverDrive
## _overDriveBonus IS an INTEGER all the time!
if _overDriveBonus is an integer then
set the thumbPosition of scrollbar "ProgressOverDrive" to 0
...you're right!!! when i realized it i made two functions, one with return trunc and the other a normal return, and that fixed my first problem.