A server should be able to call a ServerRPC #884
AranyhalStudio
started this conversation in
Feature Request
Replies: 1 comment
-
This is already possible. You can set 'RunLocally = true' and 'Logging = LoggingType.Off' on the Rpc attribute. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Many times during development I find myself having to make 2 different functions, that essentially do the same thing, but one has a [Server] and the other has a [ServerRpc] attribute.
If the servers was able to call a ServeRpc, it would remove the need for such things, and could also make it easier converting your game built on a client+server (host) architecture to a dedicated server architecture. I suppose this could make modding of games made with FN easier as well.
I'd really like to see this feature in some future version of FN, and if not in 4 (IDK how hard it would be to do) then I'd expect to see it in version 5. I'm sure many people could agree
Beta Was this translation helpful? Give feedback.
All reactions