SphereCommunity
RECT spheremap - Printable Version

+- SphereCommunity (https://forum.spherecommunity.net)
+-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d)
+--- Forum: Script Help (/Forum-Script-Help)
+--- Thread: RECT spheremap (/Thread-RECT-spheremap)



RECT spheremap - pinku - 11-04-2013 01:18 PM

Hey there,

I'm trying to rename and add some custom EVENTS and FLAGS on a part of the map..

While I could always do this flawlessly, there are two certain coordinates that don't seem to work..

Code:
[AREADEF my_area]
NAME=Renamed Area
GROUP=Other Dungeons
P=1998,81,5
RECT=1931,66,14,2006,41,-5
EVENTS=r_default,r_default_rock,r_cold_tree,r_default_water,r_default_grass

P is fine.

But RECT gives me errors..

Unsupported map #41 specified. Auto fixing that to 0.

The coords are

1) 1931,66,14
2) 2006,41,-5

So it's clearly stopping on ",41,".
Alright, so I tried:

RECT=1931,66,14,0,2006,41,-5,0

Unsupported map #2006 specified.

And

RECT=1931,66,14,2006,41,-5,0

None of them work.

Can someone help me out? I can't change the coords and they are full of commas.. lol
sphere is misunderstanding it.

Thanks everyone!


RE: RECT spheremap - sco - 11-04-2013 07:16 PM

You can not specify z-level in a RECT.

RECT=1931,66,2006,41,0
(spherewiki: RECT=left, top, right, bottom, map)


RE: RECT spheremap - pinku - 11-05-2013 08:21 PM

Oh, thanks!