I am trying to multiply a number by a variable's number.
var(AcornCount)
When the player collides with HomeTree(sprite)
Acorncount(var) x 2
--------------------------------------
this is what I have under System
ADD(AcornCount * 100) to GameScore
dwbailey.com/images/ReturnScore.capx
I tried viewing your capx but you're using a plugin I don't have and I'm not too keen on downloading a third party plugins that I'll never use.
However, you should be able to multiply variables simply by doing what you just did. What is the result that you're getting?
Yeah that's right (though you don't really need the parentheses). But you're setting AcornCount to 0 just before you multiply it by 100.
how do I check what 3rd party apps that I am using?
dwbailey.com/images/multiplying.capx
I toggled off setting the value to 0 and it still doesnt add my my main score...not sure why.
any ideas
The plugin you're using is Time Manager, which prevents me from opening it as well. Perhaps take a screenshot of the section of the event sheet you're dealing with?
Develop games in your browser. Powerful, performant & highly capable.
s93.photobucket.com/user/spawn85027/media/morepoints_zps742e8400.jpg.html
its the line code at 33...trying to add 200 points to gamescore upon collision
do people often put things into plugins that are harmful or something?
?
Other than the set AcornCount=0 comes before you * 100. The rest is correct.
You just have to update your GameScore.text every tick instead of on collision with AcornRewards.
Is this what you want?
Text set text to " " & GameScore
I forgot to tell it want text to update to .....
I just keep on assuming that you just have to do it once and it will be universal...anyway thanks for the help..glad people are alive out there.