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
targon_ground - need help ^_^
Author Message
WRWR
Journeyman
*

Posts: 212
Likes Given: 30
Likes Received: 1 in 1 posts
Joined: Mar 2012
Reputation: 1



Post: #7
RE: targon_ground - need help ^_^
Code:
ON=@TARGON_GROUND
IF (<DISTANCE <SRC.TARGP>> > 5) || !(<SRC.CANSEELOS <SRC.TARGP>>)
SRC.SMSG You can't reach it.
RETURN 1
ELSE
SRC.GO <SRC.TARGP>
ENDIF

but it work with teleport on static items only...trying to make it work on map tiles also

Hehe,
Code:
ON=@DCLICK
TARGETFG f_go
RETURN 1

[FUNCTION f_go]
IF (<DISTANCE <SRC.TARGP>> > 7) || !(<SRC.CANSEELOS <SRC.TARGP>>)
SRC.SMSG you can't reach it.
RETURN 1
ELSE
SRC.GO <SRC.TARGP>
ENDIF

work fine
you can go to location within 7tiles and canseelos
(This post was last modified: 08-07-2012 11:41 AM by WRWR.)
08-07-2012 11:26 AM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
targon_ground - need help ^_^ - Lazarus - 08-07-2012, 09:35 AM
RE: targon_ground - need help ^_^ - WRWR - 08-07-2012, 10:09 AM
RE: targon_ground - need help ^_^ - WRWR - 08-07-2012 11:26 AM
RE: targon_ground - need help ^_^ - WRWR - 08-07-2012, 04:20 PM

Forum Jump:


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