Score system with multiple character blueprints
I've tried a bunch of tutorials and forums, but after hours of trying I figured I'll try posting here. I'm trying to make a game where you switch between two characters with different inputs and meshes, and have made a BaseCharacter with the two child characters. I want to make a score system that register when my character overlaps my BP_Collectible item, and manage this fine with one character. However I'm struggling to make this when I have two characters I switch between.
(Blueprint of the character switch set up in each of the child blueprints, calling the other opposite to change into)
Currently my character actors are set up to be destroyed when they switch, as this seem like the easiest. (I'm not that experienced with coding). I've read that I can store scores and such in player state, but I can't figure out how to connect the overlapping collision to register between the collectible and the character- how can I store my variable so it adds the total character score even though my actors get destroyed?
(Blueprint of current score system set in the BaseCharacter. It only works with one character, and resets when actor is destroyed/changed.)
asked Jun 01 '19 at 06:02 PM in Blueprint Scripting
If you need help with casting, references or setting up a scoring system you can check out the videos in the following playlist. I go over similar systems in more detail
answered Jun 02 '19 at 04:56 AM
Nebula Games Inc
Follow this question
Once you sign in you will be able to subscribe for any updates here