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
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 786 - File: showthread.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/showthread.php 786 errorHandler->error






Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Moving items
Author Message
Alaric
Journeyman
*

Posts: 227
Likes Given: 7
Likes Received: 9 in 4 posts
Joined: Oct 2012
Reputation: 7



Post: #1
Moving items
Hey, I'm trying to script decorater. RT targets an item and he can move that up, down, left, right etc. How can I get UID of the thing in the dialog?

I use .decorater, target a thing I want to move, so in the function decoraterer is called the dialog and <argo> is the thing, but I need the <argo> uid also in the dialog and work with that, how?

Code:
[dialog d_decorator]
0,0
resizepic 100 200 3600 265 390
page 0
button 130 240 0119B 0119B 1 0 1
button 230 240 01195 01195 1 0 2
button 130 440 01199 01199 1 0 3
button 230 440 01197 01197 1 0 4
button 280 310 01194 01194 1 0 5
button 280 370 01198 01198 1 0 6
text 130 240 0 1

[dialog d_decorator text]


[function decorater]
targetf decoraterer

[function decoraterer]
dialog d_decorator
05-30-2013 06:06 AM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
Moving items - Alaric - 05-30-2013 06:06 AM
RE: Moving items - Shaklaban - 05-30-2013, 07:19 AM
RE: Moving items - Alaric - 05-30-2013, 09:34 AM
RE: Moving items - Alaric - 06-01-2013, 06:00 AM
RE: Moving items - Rattlehead - 06-01-2013, 10:42 AM

Forum Jump:


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