I normally can search high and low and find all my answers, but this one has left me stumped!!
I'm trying to use as few plugins for my game as possible, but this might have to resort to it.
All in all, the player has to pay off a character by collecting gold around town.
After she has a certain amount I want her to be able to pay him in increments of 10, 50, & 100 gold
I have set this up in multiple ways but keep hitting a brick wall and legit if I could just have the conditional branch have an =, I think all my issues would be fixed lol...but sadly it's not a pickable option so Im attempting workarounds.
So far I have tried:
-Making a condition if 11 is higher than the gold, but equal to or less than 9, then it would see the 10 gold and take it
(This somewhat worked in which he would tell her she didn't have enough if I had anything under ten...but then everything over 10 he would say it wasn't enough)
-I tried just making it if ten or lower it would take it, which it would, but it would also say you gave 10 gold even if you had under that. The code would then take 10 from her debt even if it was say 2? Which then makes it all funky, and why Im going for the 3 exact amounts to keep the math easy for me lol
I HONESTLY FEEL IF THERE WAS AN = OPTION I WOULDN'T BE HAVING THESE ISSUES
I plan on just copying and pasting for the 50 and 100, but the 10 is having a bit of a struggle.
Is there any other work arounds for it to check for that specific amount of gold so it can take that specific amount?
Thank you!!!
I'm trying to use as few plugins for my game as possible, but this might have to resort to it.
All in all, the player has to pay off a character by collecting gold around town.
After she has a certain amount I want her to be able to pay him in increments of 10, 50, & 100 gold
I have set this up in multiple ways but keep hitting a brick wall and legit if I could just have the conditional branch have an =, I think all my issues would be fixed lol...but sadly it's not a pickable option so Im attempting workarounds.
So far I have tried:
-Making a condition if 11 is higher than the gold, but equal to or less than 9, then it would see the 10 gold and take it
(This somewhat worked in which he would tell her she didn't have enough if I had anything under ten...but then everything over 10 he would say it wasn't enough)
-I tried just making it if ten or lower it would take it, which it would, but it would also say you gave 10 gold even if you had under that. The code would then take 10 from her debt even if it was say 2? Which then makes it all funky, and why Im going for the 3 exact amounts to keep the math easy for me lol
I HONESTLY FEEL IF THERE WAS AN = OPTION I WOULDN'T BE HAVING THESE ISSUES
I plan on just copying and pasting for the 50 and 100, but the 10 is having a bit of a struggle.
Is there any other work arounds for it to check for that specific amount of gold so it can take that specific amount?
Thank you!!!