Closed hyjhkt closed 3 weeks ago
UIs do not get spawned server-side if that's what you mean.
UIS不会产生服务器端,如果你是这个意思的话。
The UI can only be controlled by scripts on the server, but I want the UI to control objects
Are you trying to control a projectile with a UI? That's not really possible with the way projectiles are replicated. You could use plugins to simulate a projectile using effects.
NpcGlobalEventMessenger
can only instigate events when running on the server-side, sorry. Since the UI only exists on the client, not the server, it cannot rely on that component existing in the UI on the server.
That said, it sounds/appears this is more-so about the particular setup, whereas this repository is intended for bugs/crashes/issues/etc in the game rather than modding assistance, sorry.
I have placed ActivationEventHook on the UI to enable Object, which will take effect in single player mode and not on the server
I want UI to send NpcGlobalEventMessenger, but UI cannot send events on the server