Hello, i’m really new to Unreal, just started for like 4 days or something, i’m trying to make a character selection with me choosing one then the computer doing so, me choosing i nailed it, but the thing is i have no clue how to make the computer do it, i’ve been searching for this like a madman here, on google and youtube. So i decided to ask, no harm in doing so. Thanks in advance for the kind soul!
Hey @DiFrancobg! Welcome to the forums!
So to be able to help, we will need to know what you’re working with here. For instance, when you say “Choose a character” is this supposed to give them an AI, set a specific skeletal mesh to the computer character, straight up just give them an entire specific blueprint as a character to be? Any information you can give is almost surely likely to help us to help you!
Sorry about that, so i have five characters with blueprint, just for testing, in a lobby of sorts with their icons and names so the player can hover, select and deselect, and when the player confirms the choosen character it goes into the level map with the assigned character, what i can’t figure out is how to have a computer do the same and be the opponent to the player character.
Thank you very much for the help!
I would try two methods:
-Create an array of all character actors or enemy actors you want the computer to choose from. Have the computer randomly select an actor from the list or choose an actor based on specific criteria.
-Create a data table of all characters to be selected in UI, and populate the character selection screen by reading through the data table. When the player selects a character, have the computer look through the data table and find a character randomly or one with specific stats
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.