Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Areas giving events
Author Message
Extreme
Grandmaster Poster
***

Posts: 1,143
Likes Given: 217
Likes Received: 85 in 75 posts
Joined: May 2012
Reputation: 20

SphereCommunity

Post: #1
Areas giving events
Hello guys, I need some ideas now.

I made 2 areadefs, one bigger (city) and small one (tailor house for example).
In the tailor house area, I set an event for players who enter and leave to get extra tailoring skillgain bonus...

The problem is: it only works if I reload the script of the tailor area.
If I didn't do it, the bigger area override all small areas that I created.

Any idea how to force the small areas overrides the bigger one?

Thanks!

STEPS BEFORE CREATE A THREAD
- Check the revisions log;
- Use the search button and use the keywords of your problem;
- Check the WIKI;
- Create a thread.
06-21-2013 01:20 AM
Find all posts by this user Like Post Quote this message in a reply
darksun84
Sir Spamalot
****

Posts: 1,674
Likes Given: 242
Likes Received: 161 in 150 posts
Joined: Mar 2012
Reputation: 34



Post: #2
RE: Areas giving events
Uhm what you mean for reloading the script ?
06-21-2013 01:28 AM
Find all posts by this user Like Post Quote this message in a reply
Alaric
Journeyman
*

Posts: 227
Likes Given: 7
Likes Received: 7 in 4 posts
Joined: Oct 2012
Reputation: 7



Post: #3
RE: Areas giving events
Can't you use rooms for these situations or you've already had some.

Or the position where the script is, might help... As your sphere loads scripts place the larger before the smaller.
(This post was last modified: 06-21-2013 01:39 AM by Alaric.)
06-21-2013 01:37 AM
Find all posts by this user Like Post Quote this message in a reply
Extreme
Grandmaster Poster
***

Posts: 1,143
Likes Given: 217
Likes Received: 85 in 75 posts
Joined: May 2012
Reputation: 20

SphereCommunity

Post: #4
RE: Areas giving events
(06-21-2013 01:28 AM)darksun84 Wrote:  Uhm what you mean for reloading the script ?
Saving and resyncing...

(06-21-2013 01:37 AM)Alaric Wrote:  Can't you use rooms for these situations or you've already had some.

Or the position where the script is, might help... As your sphere loads scripts place the larger before the smaller.
Yeah, instead tell to load after/before, I joined the similar areas in one script, with the bigger one first (town) and the small ones (shops) after.

Working fine!
Thanks

STEPS BEFORE CREATE A THREAD
- Check the revisions log;
- Use the search button and use the keywords of your problem;
- Check the WIKI;
- Create a thread.
06-21-2013 01:44 AM
Find all posts by this user Like Post Quote this message in a reply
RanXerox
Master
**

Posts: 550
Likes Given: 1
Likes Received: 10 in 7 posts
Joined: Dec 2010
Reputation: 19



Post: #5
RE: Areas giving events
(06-21-2013 01:37 AM)Alaric Wrote:  Can't you use rooms for these situations or you've already had some.

Fairly sure room's can't have events.
06-21-2013 11:10 AM
Find all posts by this user Like Post Quote this message in a reply
Rattlehead
Master
**

Posts: 290
Likes Given: 3
Likes Received: 8 in 6 posts
Joined: Jun 2012
Reputation: 8



Post: #6
RE: Areas giving events
damn, rooms cant have events? Sad

should change that Tongue

[Image: matts_siggy.gif]
06-22-2013 12:17 PM
Find all posts by this user Like Post Quote this message in a reply
Extreme
Grandmaster Poster
***

Posts: 1,143
Likes Given: 217
Likes Received: 85 in 75 posts
Joined: May 2012
Reputation: 20

SphereCommunity

Post: #7
RE: Areas giving events
(06-22-2013 12:17 PM)Rattlehead Wrote:  damn, rooms cant have events? Sad

should change that Tongue
Yeah, they don't, and will never have since was roughly when say it.

STEPS BEFORE CREATE A THREAD
- Check the revisions log;
- Use the search button and use the keywords of your problem;
- Check the WIKI;
- Create a thread.
06-22-2013 12:25 PM
Find all posts by this user Like Post Quote this message in a reply
Ben
Sphere Developer
*****

Posts: 607
Likes Given: 2
Likes Received: 123 in 70 posts
Joined: Mar 2010
Reputation: 18

SphereCommunity

Post: #8
RE: Areas giving events
A roomdef with events is called an areadef... need I say more?

AxisII's current version: 2.0.4j
AxisII SourceCode on Github
AxisII up to date changelog
06-25-2013 02:35 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Rattlehead
Master
**

Posts: 290
Likes Given: 3
Likes Received: 8 in 6 posts
Joined: Jun 2012
Reputation: 8



Post: #9
RE: Areas giving events
but what if yu dont want the whole area triggered, just the room?

[Image: matts_siggy.gif]
06-26-2013 08:56 PM
Find all posts by this user Like Post Quote this message in a reply
Mordaunt
Super Moderator
****

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



Post: #10
RE: Areas giving events
It's really simple I don't know why people have so much trouble with this.
Just change the Roomdef to Areadef and add your event....
You're still going to affect the same region, you're just changing it's type.

[Image: 2nis46r.jpg]
(This post was last modified: 06-26-2013 09:39 PM by Mordaunt.)
06-26-2013 09:38 PM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Forum Jump:


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

This forum uses Lukasz Tkacz MyBB addons.