RPTools.net

Discussion and Support

Skip to content

It is currently Fri Oct 20, 2017 4:47 pm 




Forum rules


Posting now open to all registered forum users.



Reply to topic  [ 5 posts ] 

Previous topic | Next topic 

  Print view

Author Message
 Offline
Cave Troll
 
Joined: Wed Jun 18, 2008 2:03 pm
Posts: 36
 Post subject: Dialog, Input -- Options
PostPosted: Mon Jan 09, 2017 10:55 am 
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.


Top
 Profile  
 
User avatar  Offline
Great Wyrm
 
Joined: Mon Sep 15, 2008 8:27 am
Posts: 1178
Location: Bristol, UK
 Post subject: Re: Dialog, Input -- Options
PostPosted: Mon Jan 09, 2017 11:29 am 
If I was going to do that, I would do it using forms.

So try looking at the forms tutorial here. :)


Top
 Profile  
 
User avatar  Offline
Deity
 
Joined: Fri Mar 20, 2009 4:40 am
Posts: 9411
Location: Netherlands
 Post subject: Re: Dialog, Input -- Options
PostPosted: Mon Jan 09, 2017 11:33 am 
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

My stuff
Excel Tools: Table and Light editors
MT Tools: Bag of Tricks: Tools for Maptool, Dungeon Builder I, Dungeon Builder II,onMouseOverEvent and
DPI.
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


Top
 Profile  
 
 Offline
Cave Troll
 
Joined: Wed Jun 18, 2008 2:03 pm
Posts: 36
 Post subject: Re: Dialog, Input -- Options
PostPosted: Mon Jan 09, 2017 3:05 pm 
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.


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?


Top
 Profile  
 
User avatar  Offline
Deity
 
Joined: Fri Mar 20, 2009 4:40 am
Posts: 9411
Location: Netherlands
 Post subject: Re: Dialog, Input -- Options
PostPosted: Mon Jan 09, 2017 6:52 pm 
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

My stuff
Excel Tools: Table and Light editors
MT Tools: Bag of Tricks: Tools for Maptool, Dungeon Builder I, Dungeon Builder II,onMouseOverEvent and
DPI.
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


Top
 Profile  
 
Display posts from previous:  Sort by  
Reply to topic  [ 5 posts ] 

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:

Who is online

In total there is 1 user online :: 0 registered, 0 hidden and 1 guest (based on users active over the past 5 minutes)
Most users ever online was 243 on Sun Nov 04, 2012 6:14 am

Users browsing this forum: No registered users and 1 guest





Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group

Style based on Andreas08 by Andreas Viklund

Style by Elizabeth Shulman