SphereCommunity
items coordinates in containers - Printable Version

+- SphereCommunity (https://forum.spherecommunity.net)
+-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d)
+--- Forum: General Help (/Forum-General-Help)
+--- Thread: items coordinates in containers (/Thread-items-coordinates-in-containers)



items coordinates in containers - Art - 09-22-2014 08:17 PM

Hello. I would like to know is it possible somehow to specify position of item in container by script on server side?


RE: items coordinates in containers - Extreme - 09-22-2014 08:50 PM

CONTP x,y


RE: items coordinates in containers - Art - 09-22-2014 09:11 PM

oo nice, thanks for the answer! Smile

Also, to avoid creation of new topic, i would ask here, is it possible to specify target on server side by script too? For example, player using item which making target, and player should select target. How i can do it by script? Using of item i can make by 'dclick <uid>' command in script, but then 'select target' appears, and how to specify target by script, to avoid clicking on target manually?


RE: items coordinates in containers - MrX - 09-22-2014 09:48 PM

TARGET

SRC.TARG.X


RE: items coordinates in containers - Art - 09-22-2014 10:01 PM

Not sure i understood how to do it.

Tried
dclick <...>
targ.x <...>

also tried
targ <...>

where <...> is uid of items


RE: items coordinates in containers - Extreme - 09-23-2014 03:40 AM

Go on sphere_backward_compatibility.scp
Search for npccast... Your answer is there.
I just don't know if it will work with what you want.


RE: items coordinates in containers - Art - 09-26-2014 01:17 AM

Hm, okay, i will try that, thank you Smile