How to multicast via functions or within other blueprints
I have a weapon_base blueprint that has a fire custom event which has a muzzle particle effect. I also have a player blue print that calls the fire function referring the weapon_base. I want to multicast the fire effect within the function. I know how to do it withing the player blue print, but how do I do it via referring another blueprint?
(this is an example on how I need to do it via withing itself, but I'm trying to do it via a custom function.
asked Jan 06 '18 at 10:57 PM in Blueprint Scripting
Hey there, for those types of effects i would recommend you doing that on the animation, as a anim notify, that way you don't need to program anything.
answered Jan 08 '18 at 09:13 AM
In order to run a multicast event from a client, the Pawn/Character needs to own the weapon Blueprint. An instance of the weapon Blueprint needs to exist on the server and the clients then you can call server events from the client through the server to the other clients. Do this by first making a "Run on Server" event followed by a "Multicast" back to the clients.
Note that you can only "Set Owner" on the server.
Follow this question
Once you sign in you will be able to subscribe for any updates here