Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Damaging CharacterBP using the same CharacterBP in multiplayer game. Or differentiating CharacterBPs in multiplayer setup.

Hello, I'll get right to the point.

When the game starts I want each player to use the same CharacterBP, I want to deal damage to players using a box overlap all actors and for each loop (or a line trace if I could get the actor as my hit result). The problem i'm having is when I apply damage the damage is dealt to all characters. Am I going about this wrong? Is there a more efficient way of dealing with applying damage to other players?

What I want out of the character BP: Health and Mana float variables, Boolean variables dictating true if you have said spell, Experience points in a float variable. I want the health variable to be accessible from the other CharacterBPs (or apply damage works fine). Also just to keep in mind if this affects anything I would like each players CharacterBP to be specific to that player, saving progress data in a SaveGameBP. I have watched the networking tutorials, health and mana tutorials, damage tutorials, and I am fairly efficient in blueprints but I cannot get my head around this. Or assigning player1 to CharacterBP1 the first time they start up the game, and that version of CharacterBP being theirs forever.

Thank you so much for taking the time to read this and I hope you can help me find a solution to my problem. :D I really do appreciate it.

Product Version: UE 4.6
more ▼

asked May 18 '15 at 09:58 PM in Blueprint Scripting

avatar image

3 1 1 3

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

0 answers: sort voted first
Be the first one to answer this question
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question