Hey, I would like to know if on unreal engine 5 is it possible to add a tag to an actor on blueprints. For example, I spawn on bp 20 pieces (just 20 copies of one actor) and on blueprints i make 10 from one colour and 10 from other. My intention is to give on bp a tag to those from one colour and another to those from the other colour, just to make different behaviours on game. Thanks.
1 Like
when i said blueprints i wanted to mean on “code”, on the event graph, not on details
All Object Actors have tags. All you need is an actor reference.
Oh, true, thanks. And if for example one of one colour hits one of the other colour, how can I get a reference of the hit one, to, for example, destroy just that piece and not all from that colour?
If it’s physics actors use OnHit.
If not, well, you probably need to make a trace on tick.
Yeah, I used a trace before but i didnt realised it works for just that piece. Thanks!
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.