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-nmm6 (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-nmm6 (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-nmm6 (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
Check for Region Event?
Author Message
pinku
Journeyman
*

Posts: 118
Likes Given: 4
Likes Received: 2 in 2 posts
Joined: Apr 2013
Reputation: 4



Post: #7
RE: Check for Region Event?
I'm using 56c, not sure which release. But I couldn't get it to work.. Sad
Can someone please explain me a bit further how this REGION.TAG works?

No console errors, but does not work anyway.
What I did:

Code:
ELSEIF (<SRC.REGION.TAG0.BLOCKED> == 01)
SRC.SYSMESSAGE Summons are blocked in this area.
RETURN 1

I tried both:

Code:
[AREADEF a_pvp]
EVENTS=r_blocked,r_default
NAME=Test
FLAGS=my|flags|here
P=xxxx,xxxx
RECT=xxxx,xxxx,xxxx,xxxx
REGION.TAG.BLOCKED=1

and

Code:
[REGIONTYPE r_blocked]
ON=@ENTER
IF !(<SRC.ISNPC>)
REGION.TAG.BLOCKED=1
SRC.SYSMESSAGE TEST.
ENDIF

Tips?

Thanks again!
12-04-2013 07:12 AM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
Check for Region Event? - pinku - 12-04-2013, 02:24 AM
RE: Check for Region Event? - Extreme - 12-04-2013, 02:52 AM
RE: Check for Region Event? - XuN - 12-04-2013, 03:37 AM
RE: Check for Region Event? - pinku - 12-04-2013, 03:40 AM
RE: Check for Region Event? - Shamino - 12-04-2013, 05:37 AM
RE: Check for Region Event? - XuN - 12-04-2013, 05:49 AM
RE: Check for Region Event? - pinku - 12-04-2013 07:12 AM
RE: Check for Region Event? - XuN - 12-04-2013, 08:24 AM

Forum Jump:


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