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
MAP.Z
Author Message
Gil Amarth
Journeyman
*

Posts: 189
Likes Given: 2
Likes Received: 1 in 1 posts
Joined: May 2012
Reputation: 0



Post: #4
RE: MAP.Z
Recently I had used something similar for my scripts.

With: SERV.MAP(X,Y).STATICS, you can access the statics in one tile of the map.

FOR X 0 <EVAL <SERV.MAP(<REF1.P.X>,<REF1.P.Y>).STATICS> - 1>
LOCAL.HEIGHT = <SERV.MAP(<REF1.P.X>,<REF1.P.Y>).STATICS.<dLOCAL.X>.Z>
SERV.LOG <dLOCAL.HEIGHT>
ENDFOR

You can access in a loop, to every statics at one tile, check the value or type you want, and store the maximum value or anything you want.
07-21-2013 06:40 AM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
MAP.Z - xwerswoodx - 07-21-2013, 01:50 AM
RE: MAP.Z - Rattlehead - 07-21-2013, 04:36 AM
RE: MAP.Z - xwerswoodx - 07-21-2013, 06:31 AM
RE: MAP.Z - Gil Amarth - 07-21-2013 06:40 AM
RE: MAP.Z - Rattlehead - 07-21-2013, 06:54 AM
RE: MAP.Z - xwerswoodx - 07-21-2013, 07:52 AM
RE: MAP.Z - Mordaunt - 07-21-2013, 08:52 AM
RE: MAP.Z - Gil Amarth - 07-22-2013, 04:24 AM
RE: MAP.Z - Rattlehead - 07-21-2013, 10:02 AM
RE: MAP.Z - xwerswoodx - 07-21-2013, 02:00 PM
RE: MAP.Z - RanXerox - 07-22-2013, 01:56 AM

Forum Jump:


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