I have two function in the GameStateBP.
One function is called “SpawnAI”. It runs on the server.
This function calls “DoClient” function. This is multicast function.
but DoClient only run on the server. not client.
How can I run this function on the client.
You should spawn this actor in GameMode rather than game state. Make sure the actor is replicated. Then from game mode (after post login of course) get the game state reference and call your multicast function