DICE PACKS BUNDLE
  1. #1

    Making new fields get added to Item menu if specific text is entered

    Hey All,

    I am trying to replicate the functionality that 3.5E and Starfinder have with their item menu. Depending on which text or dropdown option you select new fields become available for entering. How can I replicate this functionality? It would also be really cool if anyone knows how to do this in Ruleset Wizard.

    Any help is appreciated.

  2. #2
    damned's Avatar
    Join Date
    Mar 2011
    Location
    Australia
    Posts
    26,685
    Blog Entries
    1
    Look in 5E ruleset
    Look at record_item.xml

    Code:
    			<string_columnh name="type">
    				<nohide />
    				<delaykeyupdate />
    				<script>
    					function onValueChanged()
    						window.update();
    					end
    				</script>
    			</string_columnh>
    and

    Code:
    	<windowclass name="item_main_weapon">
    		<margins control="0,0,0,2" />
    		<script>
    			function update(bReadOnly)
    				bonus.setReadOnly(bReadOnly);
    				damage.setReadOnly(bReadOnly);
    				properties.setReadOnly(bReadOnly);
    			end
    		</script>

  3. #3
    LordEntrails's Avatar
    Join Date
    May 2015
    Location
    -7 UTC
    Posts
    17,272
    Blog Entries
    9
    RW does this. Look at the example RW project. Been a long time since I've done it, but can look into my project if you need more specifics than what damned said.

    Problems? See; How to Report Issues, Bugs & Problems
    On Licensing & Distributing Community Content
    Community Contributions: Gemstones, 5E Quick Ref Decal, Adventure Module Creation, Dungeon Trinkets, Balance Disturbed, Dungeon Room Descriptions
    Note, I am not a SmiteWorks employee or representative, I'm just a user like you.

  4. #4
    What is your project called in RW? is it the Core item_main or is it a personal one?

  5. #5
    LordEntrails's Avatar
    Join Date
    May 2015
    Location
    -7 UTC
    Posts
    17,272
    Blog Entries
    9
    It's a personal one.

    Problems? See; How to Report Issues, Bugs & Problems
    On Licensing & Distributing Community Content
    Community Contributions: Gemstones, 5E Quick Ref Decal, Adventure Module Creation, Dungeon Trinkets, Balance Disturbed, Dungeon Room Descriptions
    Note, I am not a SmiteWorks employee or representative, I'm just a user like you.

  6. #6
    Do you think you could link or send your project for reference? Will be greatly appreciated.

  7. #7

  8. #8

  9. #9
    LordEntrails's Avatar
    Join Date
    May 2015
    Location
    -7 UTC
    Posts
    17,272
    Blog Entries
    9
    Let's see if these are the right file: https://drive.google.com/file/d/1g-C...usp=drive_link

    Problems? See; How to Report Issues, Bugs & Problems
    On Licensing & Distributing Community Content
    Community Contributions: Gemstones, 5E Quick Ref Decal, Adventure Module Creation, Dungeon Trinkets, Balance Disturbed, Dungeon Room Descriptions
    Note, I am not a SmiteWorks employee or representative, I'm just a user like you.

  10. #10

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
  •  
STAR TREK 2d20

Log in

Log in