HowTO: spell targeting using a cursor/decal in the world in a multiplayer game.

I have a game where I normally drive around a character, but then I can go into spell casting mode and some of my spells want to use an area selection as the target. So I want to basically drive around a cursor to pick the location to cast the spell. I’ve tried spawning an actor on the server that my character sends movement information and moves it around. The problem is I start seeing all kinds of spam about “UIpNetDriver::ProcessRemoteFunction: No owning connection for actor”. I do want the other players to see where I’m targeting because I want them to know it’s coming.

It seems that if the actor is set to replicate then my character no longer processes. It feels like I’m banging my head against the wall for something that should be fairly trivial. Should I not use an actor? If not, what should I use? I need to have at least a collision component and decal component attached to “something” that I can drive around until I’m ready to execute my spell.

Thanks

Did you take a look at this?

Hi ,

Thanks for taking the time to respond. Yes I have looked at that page before. The one thing that wasn’t 100% clear to me is that I don’t actually possess this actor, but I did have replication turned on. It seems that was enough to cause confusion between my actual pawn and the actor I had spawned. I’m really looking more for guidance on the proper way to handle the targeting indicator. Right now it seems the only thing I can do is hang the decal, collision sphere and extra camera (forgot to mention that earlier) off of the same pawn and just switch to it when I need it. I just didn’t know if there was something else I was missing.

Thanks,
Mike