STAR TREK 2d20
Page 2 of 2 First 12
  1. #11
    You don't have the right window classes. The panel windows you mention are just containers, since they can be swapped in/out.

    Code:
    		<windowclass name="imagewindow" merge="join">
    			<sheetdata>
    				<image_record name="image">
    					<script file="campaign/scripts/image.lua" />
    				</image_record>
    			</sheetdata>
    		</windowclass>
    		<windowclass name="imagepanelwindow" merge="join">
    			<sheetdata>
    				<imagepanel_record name="image">
    					<script file="campaign/scripts/image.lua" />
    				</imagepanel_record>
    			</sheetdata>
    		</windowclass>
    Any time that you are merging the window classes, you need to make sure that the control you are trying to merge over actually exists in that definition.

    Regards,
    JPG

  2. #12
    GKEnialb's Avatar
    Join Date
    Jul 2017
    Location
    Castle Rock, CO
    Posts
    515
    Awesome. Thanks for the help!

  3. #13
    GKEnialb's Avatar
    Join Date
    Jul 2017
    Location
    Castle Rock, CO
    Posts
    515
    Unfortunately, none of that is preventing functions from outside the extension from not being able to be accessed within (or even in one case, outside) of the extension. The latest was CombatManager (called from the extension but not modified by it) after someone drug a token with shift-drag. Previously, Interface has disappeared, along with the functions DB.getValue(), onDrop(), and getGridSize(). I haven't been able to reproduce it myself, but several others have run into these problems at some point into their session (haven't heard that it happens right off the bat - works for a while and then something happens to cause these things).

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
  •  
5E Product Walkthrough Playlist

Log in

Log in