x

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"

Best way to have multiple characters(races or classes)

Ok, so say i have a custom playerstate that contains info like health, mana, and other player info. What is the best way to set up a different race? The races have different attributes and health and mana. When the game starts up i just want to test with a simple button choice that lets you pick a race. How do i go about doing this with BP? Do i make a new ThirdpersonCharacter or do i do something else?

Product Version: Not Selected
Tags:
more ▼

asked Apr 26 '15 at 11:11 PM in Blueprint Scripting

avatar image

DrakeWalker
96 30 30 32

avatar image SadClown Apr 27 '15 at 12:13 AM

I think it'll end up being a matter of preference for you. I am pretty new to UE4 but I know I saw a youtube tutorial that taught how to switch between different characters with a key event. I had a level set up with three different characters I could switch between based on that quick video.

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

1 answer: sort voted first

make a function that sets all the variables that make your races different, for example setRace(skeletalMesh mesh, float health, float mana, float collision half size) etc.

more ▼

answered Apr 27 '15 at 02:49 AM

avatar image

legendary games
95 6 8 11

(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