The following warnings occurred:
Warning [2] Use of undefined constant SAPI_NAME - assumed 'SAPI_NAME' (this will throw an Error in a future version of PHP) - Line: 3388 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3388 errorHandler->error
/showthread.php 116 build_archive_link
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/inc/functions.php 3324 build_forum_breadcrumb
/showthread.php 195 build_forum_breadcrumb
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/showthread.php 195 build_forum_breadcrumb






Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Totally confused on Radio Buttons.
Author Message
Rayvolution
Journeyman
*

Posts: 135
Likes Given: 0
Likes Received: 2 in 2 posts
Joined: Jul 2012
Reputation: 1

Aetharia

Post: #1
Totally confused on Radio Buttons.
Disregard! I figured it out.

<ARGCHK[id]> Smile




I'm trying to get my GUMP to figure out what Radio Button you clicked, but I can't find the correct ARG value.

Basically, this is a character creation GUMP, and you select various radio button sets (Gender, Hair, Skintone, Starting Stats/Skills, etc) but once you hit "Accept" I can't figure out what ARG values are the radio buttons so I can make my IF statements.

Code:
[DIALOG d_character_creation]
0,0
page 0
resizepic 73 92 9390 651 389
resizepic 309 148 9300 80 60
resizepic 96 148 9300 210 60
resizepic 96 211 9300 291 106
resizepic 392 148 9300 96 170
resizepic 492 148 9300 96 170
resizepic 592 148 9300 110 110
resizepic 592 261 9300 110 110
resizepic 106 170 2620 194 33
resizepic 100 225 83 281 66
text 264 124 1152 0
text 339 167 4 1
text 339 187 24 2
text 182 148 970 3
text 597 148 970 4
text 314 148 970 5
htmlgump 98 327 488 121 6 1 0
text 622 172 86 7
text 622 192 56 8
text 622 212 24 9
text 597 261 970 10
text 617 283 1152 11
text 617 303 1152 12
text 617 323 1152 13
text 203 211 970 14
text 397 148 970 15
text 417 170 1152 16
text 417 290 1152 17
text 417 270 1152 18
text 417 250 1152 19
text 417 230 1152 20
text 417 210 1152 21
text 417 190 1152 22
text 497 148 970 23
text 517 170 1152 24
text 517 190 1152 25
text 517 210 1152 26
text 517 290 1152 27
text 517 270 1152 28
text 517 250 1152 29
text 517 230 1152 30
text 617 343 1152 31
text 622 232 1152 32
textentry 115 176 173 20 1152 0 33
tilepichue 109 235 8397 1002
tilepichue 140 234 8397 1003
tilepichue 169 234 8397 1004
tilepichue 199 234 8397 1005
tilepichue 229 234 8397 1006
tilepichue 259 234 8397 1007
tilepichue 289 234 8397 1008
tilepichue 319 234 8397 1054
tilepichue 349 234 8397 1033
Group 1
radio 314 167 2510 2511 1 1
radio 314 187 2510 2511 0 2
Group 2
radio 113 291 2510 2511 1 10
radio 143 291 2510 2511 0 11
radio 173 291 2510 2511 0 12
radio 203 291 2510 2511 0 13
radio 233 291 2510 2511 0 14
radio 263 291 2510 2511 0 15
radio 293 291 2510 2511 0 16
radio 323 291 2510 2511 0 17
radio 353 291 2510 2511 0 18
Group 3
radio 397 170 2510 2511 1 20
radio 397 190 2510 2511 0 21
radio 397 210 2510 2511 0 22
radio 397 230 2510 2511 0 23
radio 397 250 2510 2511 0 24
radio 397 270 2510 2511 0 25
radio 397 290 2510 2511 0 26
Group 4
radio 497 170 2510 2511 1 30
radio 497 190 2510 2511 0 31
radio 497 210 2510 2511 0 32
radio 497 230 2510 2511 0 33
radio 497 250 2510 2511 0 34
radio 497 270 2510 2511 0 35
radio 497 290 2510 2511 0 36
Group 5
radio 597 172 2510 2511 0 40
radio 597 192 2510 2511 0 41
radio 597 212 2510 2511 0 42
radio 597 232 2510 2511 1 43
Group 6
radio 597 283 2510 2511 0 50
radio 597 303 2510 2511 0 51
radio 597 323 2510 2511 0 52
radio 597 343 2510 2511 1 53
button 614 383 246 244 1 0 100
button 614 415 247 248 1 0 101

[DIALOG d_character_creation text]
Welcome! Please create your character.
Male
Female
Name
Stats Bonus
Gender
Welcome to our server! It's time to create your character! Please select from the options above, when you're happy with your selection, hit Okay. Be aware, that there are no limits or caps on our server what so ever! You are NOT limited to your starting stats and skills. Anyone can become anything, what you pick here only gives you a head start in certain skills and stats and provide you some starting equipment based on your selections!
+15 STR
+15 DEX
+15 INT
Skill Bonus
Citizen
Adventurer
Magic Arts
Skin Color
Hair
None
Pig Tails
Pony Tail
Pageboy
Mohawk
Long
Krisna
Facial Hair
None
Goatee
Long
Vandyke
Mustache
Short
Medium
Jack of All
+7  ALL
Your name here.

[DIALOG d_character_creation button]
ON=100
// Reset Menu (Close/Relaunch Gump)
//

ON=101
// Create Character
//

[Image: 4_Logo.png]
An MMORPG based on the Ultima Online engine.
Completely Custom Map, GUI, AI, Combat, Skills, Crafts, Art, Music and so much more.
http://aetharia.com - Home of Ambition!
(This post was last modified: 07-29-2012 08:23 AM by Rayvolution.)
07-29-2012 08:15 AM
Find all posts by this user Like Post Quote this message in a reply
darksun84
Sir Spamalot
****

Posts: 1,687
Likes Given: 245
Likes Received: 162 in 151 posts
Joined: Mar 2012
Reputation: 35



Post: #2
RE: Totally confused on Radio Buttons.
By using dtext instead of text you can skip the text dialog section!
07-29-2012 10:06 PM
Find all posts by this user Like Post Quote this message in a reply
Skul
Master
**

Posts: 413
Likes Given: 0
Likes Received: 19 in 15 posts
Joined: Jun 2012
Reputation: 9



Post: #3
RE: Totally confused on Radio Buttons.
radio reads the number through <argchk[xx]>

for example:
Code:
radio 143 291 2510 2511 0 11
would be
Code:
<argchk[11]> // = 1

"I ask a question to the answer I already know."

Marchadium :: http://www.marchadium.ca/ :: Join us!
08-05-2012 07:01 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)