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
Anti-Gate, recall and mark?
Author Message
Rayvolution
Journeyman
*

Posts: 135
Likes Given: 0
Likes Received: 2 in 2 posts
Joined: Jul 2012
Reputation: 1

Aetharia

Post: #2
RE: Anti-Gate, recall and mark?
Yes, you need to add a new region, and apply these flags to it:

region_antimagic_recall_in 00002
region_antimagic_recall_out 00004
region_antimagic_gate 00008

For example, here's one I made in sphere_map0.scp that will announce when you enter the area, block recalling and gate, and won't allow you to place buildings:

Code:
[AREADEF a_newdungeon]
EVENTS=r_default,r_default_rock,r_default_water,r_default_tree,r_default_grass
NAME=New Dungeon
GROUP=Dungeons
FLAGS=region_flag_announce|region_flag_nobuilding|region_antimagic_recall_in|reg​ion_antimagic_recall_out|region_antimagic_gate
P=2473,2107,10,0
RECT=2350,1981,2588,2198,0

[Image: 4_Logo.png]
An MMORPG based on the Ultima Online engine.
Completely Custom Map, GUI, AI, Combat, Skills, Crafts, Art, Music and so much more.
http://aetharia.com - Home of Ambition!
(This post was last modified: 10-15-2012 10:59 PM by Rayvolution.)
10-15-2012 10:58 PM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
Anti-Gate, recall and mark? - daedelus - 10-15-2012, 10:13 PM
RE: Anti-Gate, recall and mark? - Rayvolution - 10-15-2012 10:58 PM
RE: Anti-Gate, recall and mark? - daedelus - 10-15-2012, 11:05 PM
RE: Anti-Gate, recall and mark? - Barnabus - 10-16-2012, 06:26 AM

Forum Jump:


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