[Networking] How to ask the server to do some action by interacting with an object ?
I've recently watched the network-related videos and am doing some tests with blueprints and networking in general. In this particular case I'm trying to set up for example a chair that rotates when a player uses the E key onto it. Unfortunately the Custom Event that the server is supposed to run (set to "Run on server") doesn't run at all. But the input action has correctly been triggered by the client after enabling input on the blueprinted chair on his side.
To make it clear here's what works fine (as expected): This is from the default Character blueprint. Server correctly prints "Test A" on the screen.
And here's what doesn't work: This is from a blueprinted actor in the scene. I verified that the player had input by printing something before calling the "Test Action" custom event and it worked fine. However the Custom Event never gets executed.
I'm sure this has a perfect explanation and I'm not doing it all right. Could anyone please explain what's wrong or missing here ? I suppose it must have something to do with the fact it's not the pawn that calls the event.
Thanks a lot in advance !
asked Aug 05 '14 at 12:08 PM in Blueprint Scripting
Follow this question
Once you sign in you will be able to subscribe for any updates here