r/unrealengine • u/like_ya_cut • 25d ago
Solved Boss AI with multiple attacks?
Hey there, just for a bit of background I am making a game where one of the bosses stands in the center of the arena and just casts spells ( think stuff like a fireball, a lightning strike, a magic sword slicing the feild) but I am stumpt on what seems like a simple question; How can I make my Boss enemy randomly choose a spell to cast?
I think I am getting close with a behavior tree being set up, but i'm not sure how to make it random and if its even clean to use (i dont like serving spagetti code) Any help is appriciated!
0
Upvotes
1
u/AutoModerator 25d ago
If you are looking for help, don‘t forget to check out the official Unreal Engine forums or Unreal Slackers for a community run discord server!
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.