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"

Is it better to make a child bp or duplicate character bp

Hey, I am trying to make my player change characters but i am not sure weather to use child bp or just duplicate and posses but will that mess up my ai would i have to rewrite code etc what would be the best way ?

Product Version: UE 4.15
more ▼

asked Apr 03 '17 at 08:32 AM in Blueprint Scripting

avatar image

30 12 12 17

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

1 answer: sort voted first

Use inheritance if you want to keep both blueprints quite similar, so you only have to update the parent blueprint for shared functionality. Another advantage of inheritance is, that you can use the parent class in functions of other bps for both, because the "cast to parentbp" will also work if you character is in fact the "childbp".

I would even go for inheritance if your characters don't share much code. Then I would create another parent character and let both of your characters be childs of this one. So you would in fact have 3 but only use 2 in your game and 1 in casts.

more ▼

answered Apr 03 '17 at 08:52 AM

avatar image

192 4 5 13

avatar image Jakupiii Apr 03 '17 at 09:04 AM

Dude this is amazing, first time working with child bp sorry to bother you i didnt know it was so easy it worked perfect i just got stuck thanks

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
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