How can I allow the player to 'pick up' money?
I am trying to set up a money system in my game.
I have imported a static mesh and then created a blueprint from it. I set up it's collision to allow for overlapping and programmed it to add to a variable and then destroy itself when the player runs over it. Only it doesn't work, for some reason. Any help would be appreciated. I have attached a screenshot of the blueprints of the mesh.
asked May 24 '15 at 01:33 PM in Blueprint Scripting
your pickup is paying itself. use the OtherActor reference, cast it to your character type, and set the character's money variable, instead of the pickup's money variable.
answered May 24 '15 at 04:54 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here