ServUO Version
Publish 57
Ultima Expansion
Endless Journey
Hi guys i am looking at the Region script, i found how to add a section of the map to not allow player to mark/teleport there, my question is how to remove a region exactly i do not want to remove the Guarded area of town but want allow player to mark about everywhere in the world.
 
mark recall gate ect... also use CheckTravel which is in SpellHelper.cs
Just above CheckTravel you'll find TravelValidator and m_Rules.

m_Rules is a list of bools that turn travel on/off for various areas

in TravelValidator you'll see several locations like:
new TravelValidator(IsEodon),

if you search for IsEodon it'll take you down further and between the 3 spots you'll see how to add/enable/disable areas.
 

Active Shards

Donations

Total amount
$50.00
Goal
$1,000.00
Back