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
Regiontype
Author Message
Mordaunt
Super Moderator
****

Posts: 1,237
Likes Given: 26
Likes Received: 55 in 43 posts
Joined: Mar 2012
Reputation: 35



Post: #2
RE: Regiontype
Not entirely sure I am following you but I will try and explain region events....


Code:
[REGIONTYPE r_region_event]
ON=@Enter
src.events +e_myplayer_event

And to add the region event to the region inside your sphere_map0.scp:

Code:
[AREADEF a_townMoonglow]
EVENTS=r_default,r_default_rock,r_default_water,r_default_tree,r_default_grass  // <---- here are your REGIONAL events add r_region_event to this line.
NAME=Moonglow
GROUP=Moonglow
FLAGS=REGION_FLAG_NOBUILDING|REGION_FLAG_GLOBALNAME|REGION_FLAG_GUARDED
P=4442,1172,0,0
RECT=4379,1045,4439,1176,0
RECT=4383,1021,4430,1045,0
RECT=4439,1048,4497,1142,0
RECT=4379,1176,4399,1181,0
RECT=4439,1142,4489,1176,0
RECT=4459,1176,4485,1184,0
TAG.GUARDOWNER=the town

[Image: 2nis46r.jpg]
(This post was last modified: 02-08-2013 07:14 AM by Mordaunt.)
02-08-2013 07:09 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
Regiontype - mrkarlo - 02-08-2013, 07:03 AM
RE: Regiontype - Mordaunt - 02-08-2013 07:09 AM
RE: Regiontype - darksun84 - 02-08-2013, 07:12 AM
RE: Regiontype - mrkarlo - 02-08-2013, 07:45 AM
RE: Regiontype - Mordaunt - 02-08-2013, 07:50 AM
RE: Regiontype - mrkarlo - 02-08-2013, 08:07 AM

Forum Jump:


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