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
IFs possible in the text portion of a gump?
Author Message
x77x
Master
**

Posts: 488
Likes Given: 0
Likes Received: 15 in 15 posts
Joined: Mar 2012
Reputation: -4



Post: #6
RE: IFs possible in the text portion of a gump?
still nothing...

Code:
IF <uid.040004100>
Dtext 90 150 <more> Xu Chango//brit-xuchang
ELIF <uid.040004101>
Dtext 10 90 <more> Chang An//yew-changan
ELIF <uid.040004102>
Dtext 150 120 <more> Luo Yang//cove-luoyang
ELIF <uid.040004103>
Dtext 185 45 <more> Ye//minoc-ye
ELIF <uid.040004104>
Dtext 165 90 <more> Xia Pi//wind-xiapi
ELIF <uid.040004105>
Dtext 200 70 <more> Shou Chun//vesper-shouchun
ELIF <uid.040004106>
Dtext 320 105 <more> Jian Ye//moonglow-jianye
ELIF <uid.040004107>
Dtext 180 200 <more> Jiang Ling//bucs-jiangling
ELIF <uid.040004108>
Dtext 250 110 <more> Chai Sang//njulem-chaisang
ELIF <uid.040004109>
Dtext 255 198 <more> Jiang Xia//magincia-jiangxia
ELIF <uid.04000410a>
Dtext 240 240 <more> Chang Sha//ocllo-changsha
ELIF <uid.04000410b>
Dtext 120 255 <more> Cheng Du//trinsic-chengdu
ELIF <uid.04000410c>
Dtext 20 205 <more> Han Zhong//skara-hanzhong
ELIF <uid.04000410d>
Dtext 200 320 <more> Yong An//serpents-yongan
ELIF <uid.04000410e>
Dtext 80 350 <more> Jiang Zhou//jhelom-jiangzhou
ELIF <uid.04000410f>
Dtext 412 290 <more> Jian Ning//papua-jianning
ELIF <uid.040004110>
Dtext 381 365 <more> Yun Nan//delucia-yunnan
ELIF <uid.040004111>
Dtext 280 35 <more> Xiang Ping//snowlands xiang ping
ELIF <uid.040004112>
Dtext 318 218 <more> Ping Yuan//seaport ping yuan
ELIF <uid.040004113>
Dtext 335 325 <more> Wu//fireisland wu
ELIF <uid.040004114>
Dtext 188 8 <more> Ji//northlands ji
ELSE
RETURN 0
ENDIF

im trying to use 1 gump for 21 different townstones

its checking to see which townstone this is
and putting up the correct name on the map, in the correct location

shouldnt it be something like IF (<uid>==040004100) ??

Dragons of Time 2000-2020
http://dragonsoftime.com
(This post was last modified: 10-27-2015 08:08 AM by x77x.)
10-27-2015 08:06 AM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
RE: IFs possible in the text portion of a gump? - x77x - 10-27-2015 08:06 AM

Forum Jump:


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