5E Character Create Playlist
Page 2 of 2 First 12
  1. #11
    Once again you have come up with a solution for me.
    Thanks Trenloe, you're a legend

    Cheers, Steve.

  2. #12
    Trenloe's Avatar
    Join Date
    May 2011
    Location
    Colorado, USA
    Posts
    33,362
    I don't know where your script is running. But if it's outside of the CT, then you'll need to check that wCT (in my example above) isn't nil before getting the windowlist control. Use if wCT then...
    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!

  3. #13
    wCT is fine, it returns the combattracker windowinstance, but wCT.list_ctbox_host reurns nil. Here's my testing code, what am I doing wrong ?

    Code:
    local wCT = Interface.findWindow("combattracker_host", "combattracker")
    	Debug.console("wCT",wCT)
    	local tmp=wCT.list_ctbox_host
    	Debug.console("tmp",tmp)
    Cheers, Steve.

  4. #14
    Trenloe's Avatar
    Join Date
    May 2011
    Location
    Colorado, USA
    Posts
    33,362
    Which ruleset are you using again?
    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!

  5. #15
    It's 5e.
    Think I've got it though...
    I think local tmp=wCT.list is what I needed.

    Thanks you again for your assistance, invaluable as ever

    Cheers, Steve.

  6. #16
    Trenloe's Avatar
    Join Date
    May 2011
    Location
    Colorado, USA
    Posts
    33,362
    Yep, use .list - the control is named "list" within the list_ctbox_host template.
    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!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
FG Spreadshirt Swag

Log in

Log in