Hello, Thanks in Advance.. and to those who feel like helping please give in-depth answers explaining your post.
1. How do I make these dynamic where they re-size themselves dependent upon how many commands are available? or something like that.. without having to always manually re-size dialog backgrounds?
resizepic 12 14 5054 203 200
gumppictiled 19 22 187 185 5124
2. How do I make a dialog recognize the page its on for example
Page 1 of 2 without manually typing in the numbers?
3. What is the best way to have the dialog load information in accordance to your plevel? Example. I would like players who click commands have "variable" commands listed. If Counselor clicks commands have it list only counselor commands and all of player's commands. Seers show seers commands and counselors and players commands?
dhtmlgump 75 26 175 100 0 0 <DEF.CENTER><DEF.BFONT_RED>Page 1 of 1<DEF.CENTER></BFONTE>
resizepic 12 14 5054 203 200
gumppictiled 19 22 187 185 5124
Code:
[DIALOG d_commands]
0,0
page 0
resizepic 12 14 5054 203 200
gumppictiled 19 22 187 185 5124
Group 0
radio 182 75 5541 5540 0 0
radio 182 98 5541 5540 0 0
gumppictiled 40 24 165 24 3504
dhtmlgump 75 26 175 100 0 0 <DEF.CENTER><DEF.BFONT_RED>Page 1 of 1<DEF.CENTER></BFONTE>
gumppictiled 20 49 159 24 3504
gumppictiled 20 74 159 24 3504
gumppictiled 20 99 159 24 3504
if <account.plevel> == 0
dhtmlgump 25 50 150 100 0 0 <DEF.CENTER><DEF.BFONT_LBLUE>Guest<DEF.CENTER></BFONTE>
elif <account.plevel> == 1
dhtmlgump 25 50 150 100 0 0 <DEF.CENTER><DEF.BFONT_LBLUE>Player<DEF.CENTER></BFONTE>
elif <account.plevel> == 2
dhtmlgump 25 50 150 100 0 0 <DEF.CENTER><DEF.BFONT_LBLUE>Counselor<DEF.CENTER></BFONTE>
elif <account.plevel> == 3
dhtmlgump 25 50 150 100 0 0 <DEF.CENTER><DEF.BFONT_LBLUE>Seer<DEF.CENTER></BFONTE>
elif <account.plevel> == 4
dhtmlgump 25 50 150 100 0 0 <DEF.CENTER><DEF.BFONT_LBLUE>Game Master<DEF.CENTER></BFONTE>
elif <account.plevel> == 5
dhtmlgump 25 50 150 100 0 0 <DEF.CENTER><DEF.BFONT_LBLUE>Developer<DEF.CENTER></BFONTE>
elif <account.plevel> == 6
dhtmlgump 25 50 150 100 0 0 <DEF.CENTER><DEF.BFONT_LBLUE>Administrator<DEF.CENTER></BFONTE>
elif <account.plevel> == 7
dhtmlgump 25 50 150 100 0 0 <DEF.CENTER><DEF.BFONT_LBLUE>Owner<DEF.CENTER></BFONTE>
else
dtext 25 50 0 Null
endif
dtext 25 75 0 ..E & .Emote
dtext 25 100 0 ..Help
[DIALOG d_commands text]
page # of #
Account Type
Option # 1
[DIALOG d_commands button]