Page 1 of 1

Spawn within a radius

Posted: Wed Apr 10, 2013 12:16 pm
by L2Imprada
Dear ppl,

is it possible to get the spawn within a radius of * by putting just a radius after the coords.

For example, this is my spawn point:

Code: Select all

<position owner="All" x="16323" y="213139" z="-9354" radius="1200" />
Will that make people spawn within a radius of 1200 or does it need any modifications inside?

Thanks,
L2Imprada

Re: Spawn within a radius

Posted: Wed Apr 10, 2013 2:12 pm
by jurchiks
You can't just add a random attribute to the XML and expect the code to know what it means and what it should do.
Where is this position element located in the first place?

Re: Spawn within a radius

Posted: Thu May 02, 2013 9:39 pm
by dEvilKinG
It needs to be coded in core, make it recognize obstacles,walls,rocks min max Z. It's not that simple to do.

Hint: use pathfinding to make it work.

Re: Spawn within a radius

Posted: Thu May 02, 2013 10:24 pm
by Zoey76