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
Region Tag Markup
Author Message
pinku
Journeyman
*

Posts: 118
Likes Given: 4
Likes Received: 2 in 2 posts
Joined: Apr 2013
Reputation: 4



Post: #1
Region Tag Markup
Hey everyone,

Is there any way I can set a variable TAG.VENDORMARKUP to an certain AREADEF?

i.e.
Let's say I have the [AREADEF a_cave_1] and I want a TAG.VENDORMARKUP that a player will set to it;

However, the player is located in Britain, so I can't just use REGION.TAG.VENDORMARKUP=X, like I usually do, I need to set it straight to that [AREADEF a_cave_1].

I tried a bunch of silly things to manually set it from distance, but nothing seemed to work.

Sorry if I sound too complicated. I usually do that.

Thanks!
03-12-2014 08:22 PM
Find all posts by this user Like Post Quote this message in a reply
XuN
Sphere Developer
*****

Posts: 852
Likes Given: 102
Likes Received: 156 in 119 posts
Joined: Jul 2013
Reputation: 30



Post: #2
RE: Region Tag Markup
If you need to set it via script use this

Code:
serv.newnpc=c_man
new.p=a_cave_1
new.region.tag.vendormarkup=1
new.remove

Or just move yourself to there and back to the original position again.
03-12-2014 08:28 PM
Find all posts by this user Like Post Quote this message in a reply
pinku
Journeyman
*

Posts: 118
Likes Given: 4
Likes Received: 2 in 2 posts
Joined: Apr 2013
Reputation: 4



Post: #3
RE: Region Tag Markup
Thanks a lot XuN! Smile
03-12-2014 08:33 PM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Forum Jump:


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