SphereCommunity
Region Tag Markup - Printable Version

+- SphereCommunity (https://forum.spherecommunity.net)
+-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d)
+--- Forum: Script Help (/Forum-Script-Help)
+--- Thread: Region Tag Markup (/Thread-Region-Tag-Markup)



Region Tag Markup - pinku - 03-12-2014 08:22 PM

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!


RE: Region Tag Markup - XuN - 03-12-2014 08:28 PM

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.


RE: Region Tag Markup - pinku - 03-12-2014 08:33 PM

Thanks a lot XuN! Smile