Affect All Blueprints
I have a scene with several of the same bluprint actors and I have an event set up that does this. "Player presses "R" key, actor in blueprint changes material from A to B"
Pretty simple, it works in the scene and it works on one blueprint, but then if I drag another of the same blueprint into the scene, only the most recent blueprint will perform this event, all the previous ones seem to lose the ability to change the material. Is there a way to get all the blueprints to do the same thing when I press "R"? it seems like they should all be performing the same action but only the most recent one will.
asked Oct 19 '17 at 10:41 AM in Blueprint Scripting
If i understand correctly:
You can try this: In your Levelblueprint or playerblueprint call at first getallactorsofclass. From this one grab the actor Output and do a for each Loop. From that you can call then for every blueprint a custom Event instead of the r key. Then every blueprint in the Level should perform the same Event. You can also try to use a blueprint Interface.
answered Oct 21 '17 at 07:39 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here