Hi,
is there a way to assign the same actions for many actors for events like onbegincursorover, onendcursorover and onclicked ?
I mean setting these events once, and just “say” to all needed staticmeshes that they should act the same way, without setting manually all these events. I’ve got around 350 meshes to set up the same way…
Is that possible using a Bind Event to OnBeginCursorOver and so on ?
I don’t figure out how to “call” this bind event since, my on tick event is already used.
Well it’s possible using an array and a bind event to OnBeginCursorOver (through a For Each Loop node).
Note that to put these nodes you’ll need to click and drag from the For Each Loop node, and search for “Assign to OnBeginCursorOver”. Here are 2 with the same name, slightly different : one as no “Touched Component” as output for the event.
sorry for the necro, but I noticed you were the only one that posted. You could also make a master class and children. Example my “master class is my player, and I want to make multiple which all do the same thing in the master player I will put all the code, and the children will follow the master” a lil more in depth if in my master player I put an begin overlap event which does damage to the health variable all the children will have the same event inside them
Hey thanks for the tip, that sounds like a good workflow too.
Depending on the situation, it probably is cleaner too.