View Full Version : Question regarding character selection
Stv
February 10th, 2020, 19:00
Does anyone know which lua functions are called when a player selects a character from the characters tab?
I'm looking to populate a list of character id's as players login in/select their characters.
Thanks, Steve.
Moon Wizard
February 10th, 2020, 20:54
Look at the “characterlist” panel and window class. They have registered handler callbacks for when players add/release PCs in order to show the portraits in the upper left side of tabletop.
Regards,
JPG
celestian
February 10th, 2020, 21:13
Does anyone know which lua functions are called when a player selects a character from the characters tab?
I'm looking to populate a list of character id's as players login in/select their characters.
Thanks, Steve.
You might want to take a look at AD&D ruleset. It does what you are looking for as an example.
Specifically the scripts/manager_connection_adnd.lua.
The same code is used in the "Readycheck" extension as well.
Stv
February 10th, 2020, 21:23
Thank you both for the quick replies, I'll go take a look :)
Powered by vBulletin® Version 4.2.1 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.