SphereCommunity
Areas giving events - Printable Version

+- SphereCommunity (https://forum.spherecommunity.net)
+-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d)
+--- Forum: General Help (/Forum-General-Help)
+--- Thread: Areas giving events (/Thread-Areas-giving-events)

Pages: 1 2 3 4 5 6 7


Areas giving events - Extreme - 06-21-2013 01:20 AM

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!


RE: Areas giving events - darksun84 - 06-21-2013 01:28 AM

Uhm what you mean for reloading the script ?


RE: Areas giving events - Alaric - 06-21-2013 01:37 AM

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.


RE: Areas giving events - Extreme - 06-21-2013 01:44 AM

(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


RE: Areas giving events - RanXerox - 06-21-2013 11:10 AM

(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.


RE: Areas giving events - Rattlehead - 06-22-2013 12:17 PM

damn, rooms cant have events? Sad

should change that Tongue


RE: Areas giving events - Extreme - 06-22-2013 12:25 PM

(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.


RE: Areas giving events - Ben - 06-25-2013 02:35 AM

A roomdef with events is called an areadef... need I say more?


RE: Areas giving events - Rattlehead - 06-26-2013 08:56 PM

but what if yu dont want the whole area triggered, just the room?


RE: Areas giving events - Mordaunt - 06-26-2013 09:38 PM

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.