Jump to content

Recommended Posts

I didn't think I'd be here for something as basic as this, but I just can't seem to figure it out.

I have custom menu screens that I wanted to show up for specific clients when called on, but I can only get them to show up for the host.

This is what I'm using. It's very basic:

local TestScreen = require "screens/testscreen" --the custom screen file in the folder
TheFrontEnd:PushScreen(TestScreen())

I've tried activating it from RPCs and I've tried widget versions of these screens, but none of it seems to show up for the client. Every activation seems to just add another screen to the host's view instead. And I really cannot figure out how I'm supposed to specify which client I want to push the screen to.

Looking through the code of other basic screens and widgets, like mapcontrols and the pause screen, don't offer me any insight either. Does anyone know anything about this? Or any areas of the code I could study to get a better understanding on how to set these up?

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
  • Create New...