Parranoia
Insane Member
First off, this isn't really something that everybody has a use for, but if you do it can be quite nice.
Basically this is a script you apply to an NPC and you can create a custom sanctuary anywhere you like or even a PvP zone if you change two lines.
All you need to do is define a series of X and Y coordinates at the top of the script and then define how many points you added.
Place the npc in the area you would like and let the fun begin.
A couple notes
Link: http://pastebin.com/SMxSP7t9
Any questions, feel free to ask
Basically this is a script you apply to an NPC and you can create a custom sanctuary anywhere you like or even a PvP zone if you change two lines.
All you need to do is define a series of X and Y coordinates at the top of the script and then define how many points you added.
Place the npc in the area you would like and let the fun begin.
A couple notes
- The first and last points of the area MUST be the same. You are essentially "connecting" the shape.
- The variable n is to be set to however points you added - 1. The example script has 5 points, so n is 4.
- To change from a sanctuary to a pvp zone, simply reverse the values in the SetPvP functions.
Link: http://pastebin.com/SMxSP7t9
Any questions, feel free to ask