Hover over Actor in Multiplayer
Hey there, thank you for reading!
I have an event that causes my cursor to change color depending on what actor the cursor is hovered over--cursor is green if hovered over a friendly actor, red if an enemy actor, and default color if neither are true.
In single player this was easy to do as I could use an Event ActorBeginCursorOver on the actor itself and cast to the gameMode to change the cursor color. How can I accomplish this when there are multiplayer player controllers? ActorBeginCursorOver does not seem to know which player is hovering over it.
I tried a few things with using BindEvent to OnBeginCursor over on the actual playercharacter and casting to the desired actor--but I can not get that function to even fire (tried bindinging it from BeginPlay on the playercontroller).
Any thoughts? What is the correct approach?
asked Sep 29 '18 at 10:31 AM in Blueprint Scripting
Perhaps it would work to simply have the controller handle it instead of the hovered actor. The controller knows who itself is.
answered Nov 25 '18 at 01:47 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here