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-nmm6 (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-nmm6 (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-nmm6 (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
Read the "Gumppic"
Author Message
Avatar
Journeyman
*

Posts: 172
Likes Given: 6
Likes Received: 27 in 12 posts
Joined: Apr 2012
Reputation: 5

The North Shield

Post: #4
RE: Read the "Gumppic"
Hi,

Actully, i have useful dialog for tilepic. If you just look this and get the idea you can do what you want to do easly, i would say.

Look at the script below,

[itemdef i_artmul]
id=i_spellbook
name=Art Mul
type =t_spellbook

on=@dclick
sdialog d_art_mul
return 1

[dialog d_art_mul]
0,0

if <more> < 0
more = 0
endif
local._art = <more>

resizepic 138 10 2600 600 520
resizepic 138 520 2600 600 100
for 32
tilepic <eval 170+(70*<dlocal._x>)> <eval 30+(120*<dlocal._y>)> <dlocal._art>
dtext <eval 180+(70*<dlocal._x>)> <eval 10+(120*<dlocal._y>)> 2000 <local._art>
local._art ++
if <local._y> = 3
local._x ++
local._y = 0
else
local._y ++
endif
endfor
if <more>
button 400 565 4014 4015 1 0 1
endif
if <more> < 03fc4
button 435 565 4005 4006 2 0 2
endif
if <more>
button 350 565 4014 4015 3 0 3
endif
if <more> < 03fc4
button 485 565 4005 4006 4 0 4
endif

[dialog d_art_mul button]
on=1
more -=4
dialogclose d_art_mul
dialog d_art_mul

on=2
more +=4
dialogclose d_art_mul
dialog d_art_mul

on=3
more -=32
dialogclose d_art_mul
dialog d_art_mul

on=4
more +=32
dialogclose d_art_mul
dialog d_art_mul
(This post was last modified: 12-01-2013 10:04 AM by Avatar.)
12-01-2013 10:02 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
Read the "Gumppic" - Donty - 11-13-2013, 04:06 PM
RE: Read the "Gumppic" - darksun84 - 11-13-2013, 07:53 PM
RE: Read the "Gumppic" - Donty - 11-14-2013, 03:01 AM
RE: Read the "Gumppic" - Avatar - 12-01-2013 10:02 AM

Forum Jump:


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