-
June 22nd, 2019, 14:38 #1
- Join Date
- Sep 2017
- Posts
- 39
Control only visible for a specific player
Is it possible to script a control so that it is only visible by a specific player ?
-
June 22nd, 2019, 14:52 #2
-
June 22nd, 2019, 16:43 #3
Look at the windowcontrol setVisible Interface: https://www.fantasygrounds.com/refdo...xcp#setVisible
You'd need to have LUA code that would run on the player side (not the GM side) and identify which player (FG identity - see the User FG package: https://www.fantasygrounds.com/refdoc/User.xcp) was active and running the code based off the player.Private Messages: My inbox is forever filling up with PMs. Please don't send me PMs unless they are actually private/personal messages. General FG questions should be asked in the forums - don't be afraid, the FG community don't bite and you're giving everyone the chance to respond and learn!
-
June 22nd, 2019, 17:40 #4
- Join Date
- Sep 2017
- Posts
- 39
Basically what I am trying to come up is a window whereby both a player and the GM would bet a number of dices against each other. I am trying to find a way which would prevent each party from knowing how many dices the other party has committed, hence the idea of controlling who sees what.
-
June 23rd, 2019, 02:12 #5
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks