1. #1

    Question about version attribute on Diebox in CoreRPG

    For the fun of it, I decided to look through CoreRPG's ruleset to understand it.

    I hit something I can't find a good answer for.

    In the gameelements.xml I find two definitions for diebox.

    Code:
    <diebox version="&gt;=4">
    		<frame name="diebox" offset="9,4,9,4" />
    		<font expression="diceexpr" total="diemod" dieresult="dieresult"/>
    		<icons secret="gmdieicon" defaultdie="die_general_icon" />
    	</diebox>
    	
    <diebox version="&lt;4">
    		<frame name="diebox" />
    		<margin value="16" numbertailmargin="10" />
    		<secreticon name="gmdie" />
    	</diebox>
    I can pretty much guess the version attribute is controlling which one is loaded.
    (Confirmed by me futzing with the code).
    My question is what is version 4? Is that Unity?

  2. #2
    Trenloe's Avatar
    Join Date
    May 2011
    Location
    Newcastle, UK (for a bit)
    Posts
    26,038
    V4 is Unity.
    FG Con 16 Fantasy Grounds Online RPG Convention - Postponed New date To Be Confirmed.
    Register at www.fg-con.com for all the latest info.

    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. #3
    Cool.
    Thank you nice to confirm that.

Thread Information

Users Browsing this Thread

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

Posting Permissions

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

Log in

Log in