Almost drag and drop-able. I needed to comment out lines 215-224 in Customregion.cs for the following error,
'CustomRegion.AllowHarmful(Mobile, Mobile)': no suitable method found to override

After the comment, it ran smoothly. Already tested out a few now magic regions and it worked flawlessly.

Next objective is to add onto this by creating a CanEnterAge property. The idea is that only accounts over 1 year can enter the marked region.
 
Can i use this script to change a guarded zone to an unguarded zone? I saw the option in [props but it doesn't seem to work
 
Last edited:
I found this tool to be helpful and updated it to work with the current release. Here's a little help for the next person who comes across this.

I updated the method AllowHarmful(Mobile from, IDamageable target) so it will function and compile correctly.
I fixed an error where you could not set a GoLocation for the region within the properties.
I added a new gump which allows you to manually enter coordinates for a new Area or to edit an existing Area within the region.
I added refreshing of the gump so that as Areas are added/removed they populate in the gumps as expected.

Also here are the commands.
[add regioncontrol
Double click on the item to modify the Areas controlled by the Region and to edit the spells allowed within.
use [props on the regioncontrol item to access other region properties made available.
 

Attachments

  • Custom Regions.rar
    12.9 KB · Views: 0
Last edited:

Active Shards

Donations

Total amount
$0.00
Goal
$500.00
Back