Score goes up when NPC dies.
Hello, im experimenting with unreal engine. and after watching countless tutorials, i seem to be stuck. I can not for the life of me figure out how to make a point system that goes up when an NPC dies. It probably isnt the hardest thing to do, but ive tried following 3 different tutorials and nothing worked. any help would be appreciated, let me know what you would need screenshots of as well
asked Jan 24 '18 at 02:13 PM in Blueprint Scripting
Hey there, it's a singleplayer game? Can you show me a screenshot of the Apply Point Damage function call and the Event Point Damage?
answered Jan 24 '18 at 02:56 PM
Below you will find a basic blueprint on how to accomplish what your looking for. essentially when the ncp's health drops to zero you want to cast to the player character or wherever your score value is stored. you then need to get the score value add whatever amount you want to it then reset it. at this point you can play your death animation or destroy the actor.
answered Jan 24 '18 at 03:20 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here