Building Arrays

Hello UE Community!

First off, thank y’all so much for all of the input you provide. I don’t post much, but over the last month of learning how to use UE5 I’ve learned enough to build full on character stat sheets, abilities, interaction… a solid tech demo 1.

Today, however, I struggle. I’m trying to learn how to build threat tables for my combat and the most I’ve been able to discover so far is that maybe I should be using arrays and that using arrays will allow me to include healing effects in threat generation (which is the MOST separated form of threat generation, so if I can include heals then I can add threat to every other effect I have).

I’ve searched “agro,” “threat,” “threat tables,” and a few other things I could think up in the moment, but there’s nothing here, on YouTube, or on the grand old interwebs about how to build a threat table. Worse, I’ve found 5 videos where the people explaining how to use an array forget to explain HOW TO USE AN ARRAY! (I’m not frustrated by this, I find it quite funny. Most of the videos I’ve watched on UE5 are clear and concise, but this one topic - that seemingly should be simply enough to grasp - has no information-sharing support in any of my normal channels.) Oh, and Reddit. Nothing on Reddit, either.

If anyone could point me to videos or examples that half of us trying to build games can understand, I would greatly appreciate it. The UE-provided documentation is, at best, utter crap for me to try to read through.

Thank you in advance.

1 Like

What about this?

1 Like

THIS was BRILLIANT!!! I have one question, if you’re willing or know:

Are the array’s “universal” in our game build or associated to the blueprint we’re working on?

PLEASE be universal!! PLEASE!!!

No, just in the blueprint you’re working on.

Take it from me, you don’t want universal ( or global, as it’s called ).

There’s a reason why people already spent time making sure things are not global. Because it leads to all sorts of problems… :slight_smile:

1 Like

That’s fair. “Global” - got it. I was hoping you’d correct that one hahaha here’s hoping I can create references and use them like that. Either way, if people are saying these arrays can be used for threat tables (even healing threat) then from here it’s just about figuring out how to get all actors to communicate to the same array!

Thank you so much!

On to more learning!!!

1 Like