Random question...
I can't seem to find it in any of the tutorials or wikis, but can you have an optional dialog input for players to answer when creating their characters.
IE - on the dialog in the first tab can they be asked what the character race is, then on the second tab can they be asked their sub-race based on the answer provided in the first tab?
or, does this have to be answered over the course of two separate dialog inputs.
Dialog, Input -- Options
Moderators: dorpond, trevor, Azhrei
Forum rules
Posting now open to all registered forum users.
Posting now open to all registered forum users.
Re: Dialog, Input -- Options
the only way to do that is through a html form (see forms tutorial page in the wiki) and then only AFTER the player has actively submitted there choice (e.g. they pressed a 'submit' button). Without the submit button there is no way for MT to know what was chosen from the first list to populate the last list.
GETTING STARTED WITH MAPTOOLS - TUTORIALS, DOCS, VIDEOS, TOOLS, ETC
DISCORD (the new MT forum!)
My stuff
Excel Tools: Table and Light editors
MT Tools: Bag of Tricks: Tools for Maptool, Dungeon Builder I, Dungeon Builder II,onMouseOverEvent.
Frameworks: Dark Heresy, Rogue Trader, Deathwatch, Black Crusade, Only War, SET Card Game, RoboRally
Wiki: Debugging Tutorial, Speed Up Your Macros, Working With Two CODE Levels, Shortcut Keys, Avoiding Stack Overflow, READ THIS
DISCORD (the new MT forum!)
My stuff
Excel Tools: Table and Light editors
MT Tools: Bag of Tricks: Tools for Maptool, Dungeon Builder I, Dungeon Builder II,onMouseOverEvent.
Frameworks: Dark Heresy, Rogue Trader, Deathwatch, Black Crusade, Only War, SET Card Game, RoboRally
Wiki: Debugging Tutorial, Speed Up Your Macros, Working With Two CODE Levels, Shortcut Keys, Avoiding Stack Overflow, READ THIS
Re: Dialog, Input -- Options
Based on my knowledge of how the html forms work within MT, am I correct in assuming I can have a macro run one form that gets me the race then another form is run after that with the data just entered allowing for the sub-race to be determined as well?wolph42 wrote:the only way to do that is through a html form (see forms tutorial page in the wiki) and then only AFTER the player has actively submitted there choice (e.g. they pressed a 'submit' button). Without the submit button there is no way for MT to know what was chosen from the first list to populate the last list.
Re: Dialog, Input -- Options
yup. you can even create it such that it appears tp be the same form by closing the first and opening the second with the adjustments
GETTING STARTED WITH MAPTOOLS - TUTORIALS, DOCS, VIDEOS, TOOLS, ETC
DISCORD (the new MT forum!)
My stuff
Excel Tools: Table and Light editors
MT Tools: Bag of Tricks: Tools for Maptool, Dungeon Builder I, Dungeon Builder II,onMouseOverEvent.
Frameworks: Dark Heresy, Rogue Trader, Deathwatch, Black Crusade, Only War, SET Card Game, RoboRally
Wiki: Debugging Tutorial, Speed Up Your Macros, Working With Two CODE Levels, Shortcut Keys, Avoiding Stack Overflow, READ THIS
DISCORD (the new MT forum!)
My stuff
Excel Tools: Table and Light editors
MT Tools: Bag of Tricks: Tools for Maptool, Dungeon Builder I, Dungeon Builder II,onMouseOverEvent.
Frameworks: Dark Heresy, Rogue Trader, Deathwatch, Black Crusade, Only War, SET Card Game, RoboRally
Wiki: Debugging Tutorial, Speed Up Your Macros, Working With Two CODE Levels, Shortcut Keys, Avoiding Stack Overflow, READ THIS