ID:163371
 
To whom it may concern,

I have come up on two items that I do not know how to do.
The software is BYOND 4.0 Beta.

1.) Is it possible to send specific window(s) to a selected player and then send another player a different window upon that player logging in?

2.) Is it possible to while in game play disable buttons that you have preset in the interface to disabled. And I am aware you can do this is coding, but It would add a greater effect if it looked disabled.

For anyone who can help me thank you.

Smokymcpot

EDIT : After some careful reading and simple playing I have figured out how to solve my 1.) problem, but I'm still looking how to solve number 2.) Thanks
1) Yes, you can always either winshow() something, or if the windows are in the child eleft, you can winset() the parameter left or right (depending on which one you want) to refer to another window.
Assuming Child1 left is "stat" while right is "player commands"

if(Admin.LoggedIn) winset(Admin.Client or Mob, "Child1","right=AdminCommands")

//winset(mob or client, element ID, parameter setting)


You should look up winset() and probably winshow() and winget().

To know what parameters is available for each element, in the DM, go to Help > Skin Reference.

2) Same as above, look up the parameter for the button and see what values you can enter for it :x